Skip 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.

Number conversion, decimal comma to decimal point

Featured Replies

  • Newbies

Hello everybody

I need some help with a calculation field.

I have a currency field that holds a calculated value.

The decimal separator is European: a comma.

Because it is a calculated value the number of decimals are not always 2:

It could be 1000,5 or 1000,52 or even 1000,5232198

My problem:

i need to export the field to a MySQL table

the format should then be: 1,000.00 (US currency, with two decimals)

Can anyone help me with a calculation that:

- sets the number of decimals to 2

- converts the comma to a point

Great!

Dick

There is an option in the export dialog to use the formatting on the layout. Format the field on the layout to display 2 decimals.

  • Author
  • Newbies

@Vaughan

This is not really what I need Vaughan. I am aware of this option

I am using ODBC to get the field to MySQL

What I need is: a text field that holds the number... but with a "point" as a decimal separator

use the substitute function

My problem:

i need to export the field to a MySQL table

the format should then be: 1,000.00 (US currency, with two decimals)

Can anyone help me with a calculation that:

- sets the number of decimals to 2

- converts the comma to a point

There is an option in the export dialog to use the formatting on the layout. Format the field on the layout to display 2 decimals.

@Vaughan

This is not really what I need Vaughan. I am aware of this option

I am using ODBC to get the field to MySQL

What I need is: a text field that holds the number... but with a "point" as a decimal separator

So where in your original post did you mention ODBC?

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.