It looks like you're new here. Sign in or register to get started.
IsInteger = EVALUATE(DecimalVar, InputText) AND (DecimalVar = ROUND(DecimalVar, 1)) IsDecimal = EVALUATE(DecimalVar, InputText) AND (DecimalVar <> ROUND(DecimalVar, 1))
Answers
message('Var A is an Integer');
MESSAGE('Var A is an integer');
So passing it to a function as a Variant and using Variant.ISDECIMAL/ Variant.ISINTEGER
so please give me a code which check whther input is decimal
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03