Half again (I probably should have tested this)
Are the Input questions not explanatory comment enough for the variables?
The beauty of Basic is that you don't have to Dim plain variables.
EDIT: a comment added to explain where the 25.4 number is coming from
Code: (Select All)
Input "Enter a Number to convert "; num
Input "Enter 1 for conversion to mm from inches any other does vice versa "; op%
Print _IIf(op% = 1, num * 25.4, num / 25.4) ' 25.4 mm per inch
Are the Input questions not explanatory comment enough for the variables?
The beauty of Basic is that you don't have to Dim plain variables.
EDIT: a comment added to explain where the 25.4 number is coming from
724 855 599 923 575 468 400 206 147 564 878 823 652 556 bxor cross forever

