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 

Need your help with the formating Number/Double type from 19.0 to 19

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
CaptainObviousCaptainObvious
try the javascript parseInt() :
 
_mlength=parseInt(qrdr.records[i].Blade_Length_mm__c);
AhlomonAhlomon
Thanks a lot. IT'S WORKING!!!! :smileyhappy: