JamCAD Posted July 5, 2014 Share Posted July 5, 2014 I'm not getting the expected result for rtos. It is removing trailing zeros even if I "force" a precision??? (rtos 380.00 2 2) returns "380" not "380.00". I'm thinking it must be a system variable? Quote Link to comment Share on other sites More sharing options...
Stefan BMR Posted July 5, 2014 Share Posted July 5, 2014 I'm not getting the expected result for rtos. It is removing trailing zeros even if I "force" a precision???(rtos 380.00 2 2) returns "380" not "380.00". I'm thinking it must be a system variable? Explore DIMZIN sysvar. Quote Link to comment Share on other sites More sharing options...
Tharwat Posted July 5, 2014 Share Posted July 5, 2014 I'm thinking it must be a system variable? Set the System Variable dimzin to zero or set it to zero and reset it back in your routine . Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted July 5, 2014 Share Posted July 5, 2014 Consistent rtos Quote Link to comment Share on other sites More sharing options...
JamCAD Posted July 6, 2014 Author Share Posted July 6, 2014 Thanks all. I was coding on my laptop while traveling so didn't have normal access to my research options (I.e. Google). Posted on my phone thinking I would get the quick response I did :-). Lee, later after dimzin was mentioned I googled "rtos dimzin". I will give you three guesses as to the first page I visited... Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted July 6, 2014 Share Posted July 6, 2014 .......... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.