Dimitri Krut Posted August 20, 2018 Report Share Posted August 20, 2018 Using Samba SM70J Trying to make sure that the floating lumber entry is limited to a certain value range and limit a number of characters after the decimal point to one. for example 123.4 is allowed, but if the user tries to enter 123.44, it will be rounded to 123.4. MF type variable does not seem to allow masking of variables. Is there a work around this? Thanks! Quote Link to comment Share on other sites More sharing options...
Isakovic Posted August 21, 2018 Report Share Posted August 21, 2018 Usual workaround is to put an MI for user input and mask it to 1 decimal place. Then divide it with 10 in ladder to convert to float. 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.