-
is there a function to take a decimal number and make it a whole number? I am making a percentage updater and only want to display the whole number. The original number is less than 1 and I multiply it by 11 to get a whole number but when I use a dynamic text box with the variable, it prints out decimals.
-
Try using Math.round(number) or Math.floor() or Math.ceiling.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|