Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Converting number to text?

Featured Replies

  • Newbies

I need to convert a number to a text string that is appended to a text file. If I convert the number 9.12 it comes out as the correct number 9.12 If I convert the number 9.00 it comes out as 9 when in fact I need the number 9.00

Can you help me with this?

Thanks

FileMaker Version: 6

Platform: Windows 95/98

Hi Ken,

Try this

Int (Round (NumberField , 2)) & "." & Right (Round (NumberField ,2) * 100,2)

HTH

Lee

  • Author
  • Newbies

Thanks so much Lee. It works like a charm. I have one more question. If the text format is supposed to have 11 characters for the output number then how do I get the proper number of spaces in the output to balance this out? Eg. if the number is 123.45 I need the output to be -----123.45 where - is a blank. Or if the number is 123456.78 I need the output to be --123456.78.

Thanks again.

Ken

Right( "        " & Int(Round(NumberField , 2)) & "." & Right(Round(NumberField ,2) * 100,2), 11 )  

There are 8 spaces in that, btw.

  • Author
  • Newbies

Thanks again for the Help!!!

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.