The Mad Jammer Posted July 28, 2003 Posted July 28, 2003 I imported a text field that I want displayed as a money field. However, instead of displying the correct amount the program displays 2 zeros to the right of the decimal point instead of placing the decimal point two digits from the end of the text (i.e. 13155 shows up as $13,155.00 instead of $131.55). How do I fix this? Thanks The Mad Jammer And then...there was nothing
ernst Posted July 28, 2003 Posted July 28, 2003 Hi Jammer, If you have to do this import often then I would suggest playing with the settings of your 'numbers' control panel (MacOS 9), 'international' system preferences (MacOS X) or the windows equivalent of those. You can also just replace your found set with YourField/100... Regards, Ernst.
Lee Smith Posted July 28, 2003 Posted July 28, 2003 Hi This seems to work. Substitute(TextToNum(YourTextField), Right(TextToNum(YourTextField), 2), ".") & Right(TextToNum(YourTextField) , 2) Note: subsitute your own text field for "YourTextField" in this calculation. The result of the calculation is number and then you need to format your number as dollars on the layout. If you want to keep it as a text field, than this sould do it for you "$" & Substitute(YourTextField, Right(YourTextField, 2), ".") & Right(YourTextField , 2) Lee
Recommended Posts
This topic is 7781 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