App Connect Data Formatter Support Product Page
Planned
Convert default file size from byte to MB without decimal?
Shared 05 Apr 2017 10:26:50
1
likes this idea
05 Apr 2017 10:26:50 Firdaus Rohman posted:
For example I want to format 873779368 to 833MB. Replies
Replied 05 Apr 2017 13:05:54
05 Apr 2017 13:05:54 Firdaus Rohman replied:
Ok I got the code I used to use with HTML5 Data Bindings that works perfectly with App Connect, the code is as follow;
{{(insert_file.file.size / 1048576).formatNumber( 0 )}} which produces result as I want
The code generated by App Connect Formatter is as follow;
{{insert_file.file.size / 1048576.formatNumber(0, ".", ","}} which renders NaN on the browser
Please let me know if I did the wrong step with App Connect.
{{(insert_file.file.size / 1048576).formatNumber( 0 )}} which produces result as I want
The code generated by App Connect Formatter is as follow;
{{insert_file.file.size / 1048576.formatNumber(0, ".", ","}} which renders NaN on the browser
Please let me know if I did the wrong step with App Connect.
Replied 13 Apr 2017 18:31:25
13 Apr 2017 18:31:25 George Petrov replied:
Hi Firdaus,
I think we had some great Format File Size formatter in the older extension - will make sure it also gets added here is well in the next update. It does exactly the size formatting that you need.
Greetings,
George
I think we had some great Format File Size formatter in the older extension - will make sure it also gets added here is well in the next update. It does exactly the size formatting that you need.
Greetings,
George