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.

Export file does keep zero in decimals lower than one

Featured Replies

Hi,

I have found something that seems to be a bug.

A table has a numeric field. If I export records from that table as CSV, all records that have a value lower than 1 and higher than zero (any decimal number such as 0.32) do not export the leading zero. This is a big problem for exchanging data among applications.

One important consideration is that I am using an english version of FMP Advanced v3 in a non english OS (Windows XP spanish), using standard regional options for spanish (decimal symbol is a comma, thousands separator is a dot). However, this should not negatively affect exports from FM or any other program, by the way.

From what I have found:

1.- If I only export that numeric field, FM exports the zero (for instance: 0,32)

2.- If I export more than one field, FM adds Text qualifier - "" - and text delimiter (a comma). This might be the source of the problem, but if it is, is a bug.

3.- Exporting more than one field removes all zeroes in decimal numbers lower than 1 and higher than zero (for instance: 0,32 becomes ,32).

4.- This problem did not happen in versions prior to FP v7. FM exported the zeroes. The main difference I have noticed is that in older versions, FM did not use text qualifiers. Of course, it is much better to have text qualifiers, specially while exchanging data with Excel and similars.

5.- The problem seems to happen also with other file format (I have tried some, not all of them).

6.- The problem remains whatever output character set is choosen.

7.- The problem remains if I use a spanish version of FM to export the data.

Has anyone else experienced this issue? (it is very easy to reproduce).

Unfortunately, I cannot use other export format, because several databases are feed using CSV files and reprogramming this could be a nightmare.

Any ideas?

Thank you

On the layout used for exporting, format the number field as decimal. When exporting, select the "Apply current layout's formatting to exported data" option.

  • Author

It worked! Thanks Comment. Strange it needed the layouts formatting though...

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.