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.

best way to import numbers ( currency )

Featured Replies

LS,

I am currency data from an xml file into a FileMaker file. I have never had any problems with this until now.

The general question is : how do I import number data into a FM database ? Specifically, how do I process the decimal data ? ( say 123.45 ? )

How does FileMaker store this internally ? I ask this because in when using system formatting[on] in Dutch regions one would use a comma as the decimal separator.

So, can I always supply a point (.) as the decimal separator or should I follow the system setting for the Machine ?

Usually I do something like this : <xsl:value-of select="translate((($amount * 100000000) div 100000000) , '.' , ',')"/>

Is this the way to go ?

Thanks in advance...

Imported data needs to be in the same format used for data entry. If your file requires a comma as the decimal separator, then your stylesheet must do the appropriate transformation.

Unfortunately, there's no easy way for a stylesheet to determine what format is in use by the target file.

Right. localization can't be done with the xml import. push into a text field and parse (with FMP functions) from there.

Right. localization can't be done with the xml import.

Well, it can - just not easily (you'd need to export something first). It's too bad FMI didn't give us the option to send a parameter to the stylesheet when calling the import/export.

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.