dropping the decimal values in a calculated field
Posted: Fri May 22, 2015 11:18 pm
I am dealing with large dollar values andI would like to just drop the decimal value in calculated fields 4.556 becomes 4
Questions and answers about the LiveCode platform.
https://www.forums.livecode.com/
Code: Select all
on mouseup
put 4.556 into MyDollarValue
set the itemdelimiter to "."
put item 1 of MyDollarValue
end mouseup