Formatting two decimal places when writing to a file
Author: tmantrader
Creation Date: 3/21/2009 7:18 PM
profile picture

tmantrader

#1

When I write lines to the following file, I just want the O, H, L, and C to have two digits after the decimal. How would I go about formatting that? Thanks for your help.


CODE:
Please log in to see this code.
profile picture

ss161

#2
CODE:
Please log in to see this code.

profile picture

Eugene

#3
Or
CODE:
Please log in to see this code.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).