Jump to content
Server Maintenance This Week. ×

best way to import numbers ( currency )


Joost Miltenburg

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

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 4553 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.