Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7781 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

Posted

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

smile.gif

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.