2018-03-09 05:07 PM
2018-03-12 02:23 AM
Example:Is something like this not working for you?
a=4.5
b=2.345
TEXT2 0, 2, STR(a, 8, 2) ! 4.50
TEXT2 0, 1, STR(b, 8, 2) ! 2.34
TEXT2 0, 0, STR(a*b, 8, 2) ! 10.55
2018-03-12 10:13 AM
Barry wrote:No it wasn't working but it was just a simple TEXT2 0, 0, variable so it's all fixed now
Here is an example straight from the GDL manual...
Example:Is something like this not working for you?
a=4.5
b=2.345
TEXT2 0, 2, STR(a, 8, 2) ! 4.50
TEXT2 0, 1, STR(b, 8, 2) ! 2.34
TEXT2 0, 0, STR(a*b, 8, 2) ! 10.55
Barry.