cmcfarling Posted December 5, 2005 Posted December 5, 2005 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?
Zero Tolerence Posted December 5, 2005 Posted December 5, 2005 Right click on the field and go to Number Format, there should be opotions in there to do what your wanting.
Raybaudi Posted December 5, 2005 Posted December 5, 2005 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 )
Recommended Posts
This topic is 6993 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now