Zeros Eater

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Zeros Eater

Post by armsys » Fri Jan 28, 2011 2:42 am

It seems Macro Scheduler eats all zeros.
A text file contains:
0.100,0.200,0.300
After the mighty CSVFileToArray> processing, all zeros are eaten as follows:
0.1
0.2
0.3
Is there any trick to keep those trailing zeros alive?

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Post by armsys » Fri Jan 28, 2011 2:58 am

I just find a solution:
VBStart
VBEnd
Let>Price=0.2
VBEVAL>FormatCurrency(%Price%,2),Price
All trailing zeros will survive now.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts