function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AhlomonAhlomon 

Format to take out decimals

Please help me with the formating double type:
 
===================================
 
_mlength=qrdr.records[i].Blade_Length_mm__c; ==>  returns 19.0
 
How can I get format it to display just ==> 19 ?
 
Thanks for your help
sapsap
try using parseInt
AhlomonAhlomon
Thanks a lot. IT'S WORKING!!!!