How to convert a string to a numerical variable (Program Bug and Problems)

by M Santos, Tuesday, November 05, 2013, 15:54 (1235 days ago) @ Amos Weisman

Hi
Use Float or Int

Example:

a$="1.5"
print (float(a$))^2

Returns....

2.25


Complete thread:

 RSS Feed of thread

powered by my little forum