You need to sign in to do that
Don't have an account?
The new Learner
how to find the decimal places --urgent
I have two fields called Week and Frequency of deciaml with place 0, now my requirment is if Week/Frequency out put with decimal zero then it need to allow in the loop. Excpet Zero(eg:1.0,2.0,3.0) in the deciamal place it should not allow any value (eg:1.1,2.1,3.1) .
Eg:
Week=42.0, freuency=6.0
currentweek=week/freuency;
currentweek=7.0 then i need to make checkbox true
if currentweek value is 7.1 then i need to make that checkbox false
Eg:
Week=42.0, freuency=6.0
currentweek=week/freuency;
currentweek=7.0 then i need to make checkbox true
if currentweek value is 7.1 then i need to make that checkbox false
Please check once below sample code :
Hope this helps you!
If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others.
Thanks
Varaprasad
@For Salesforce Project Support: varaprasad4sfdc@gmail.com
Salesforce latest interview questions :
https://www.youtube.com/channel/UCOcam_Hb4KjeBdYJlJWV_ZA?sub_confirmation=1
Hope this sample code helps you: Thanks!