![]() |
|
#2
|
|||
|
|||
|
You can manually convert the string to an integer. Example:
Code:
strValue = viz.input('Enter a number:')
try:
intValue = int(strValue)
print intValue
except ValueError:
print 'You did not enter a valid number'
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| character limit in viz.input message | moooh | Vizard | 3 | 04-15-2009 06:27 PM |
| Mouse and Viz.Input | bjgold | Vizard | 4 | 04-20-2007 02:21 PM |