Revert back to displaying decimal number instead of whole
This commit is contained in:
		
							parent
							
								
									59056b3062
								
							
						
					
					
						commit
						c18a215c44
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		|  | @ -498,12 +498,6 @@ function displayReport(parsedData){ | |||
|                         cardBody.appendChild(p1); | ||||
|                     } | ||||
|                 } | ||||
|                 else if(field.field_type == "decimal") | ||||
|                 { | ||||
|                     p1Value = document.createTextNode(field.label + ": " + Math.trunc(field.value)); | ||||
|                     p1.appendChild(p1Value); | ||||
|                     cardBody.appendChild(p1); | ||||
|                 } | ||||
|                 else if(field.value == "") | ||||
|                 { | ||||
|                     p1Value = document.createTextNode(field.label + ": " + "None"); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Jack
						Jack