strings have a .format property. You MUST use it!
strings have a .format property. You MUST use it!
CodeCall Blog | CodeCall Wiki | Shareware
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
Format what other than the memory entries? In this picture attached I have tried to reformat to be integer, and it gives result of .3799999999999999 which should say 0.38 but the equation should put this number in the lots text box.
-Brian
You probably have to apply the format as part of assigning the float to the textbox. Since I am not a VB programmer, I will wait for some of the others to add their feedback. Based on a google search, it appears that strings have a format method.
CodeCall Blog | CodeCall Wiki | Shareware
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks
Algorithms and Data Structures
Java tutorials
Algorithms Forum