December 5, 200520 yr I have a number field formatted as a decimal with 2 fixed decimal digits. So if I type 100 into the field, it displays as 100.00 Is there a way to get the displayed value out of that field (100.00 as opposed to the actual field value of 100) to display in a text field? Or, do I have to monkey with the number by adding decimal digits (via a calc) if they weren't manually typed?
December 5, 200520 yr Right click on the field and go to Number Format, there should be opotions in there to do what your wanting.
December 5, 200520 yr Hi try this calc: Int ( number ) & Case( number * 100 - Int(number) * 100 = 0;".00"; number * 100 - Int(number) * 100 < 10;".0" &number * 100 - Int(number) * 100; "." & number * 100 - Int(number) * 100 ) or, the same, but better to look: Let([ i = Int ( number ); d = Right ( 100 + number * 100 - i * 100 ; 2 ) ]; i & "." & d )
Create an account or sign in to comment