/ Forums / Advansys Formativ / Creating Solutions with Formativ / decimals in text fields or masked fields / Reply To: decimals in text fields or masked fields

#7564
Support 3
Participant

    CSng function return single data type and you need to convert Single to String. Use the CStr function to returns an expression that has been converted to a variant of subtype string.

    field3.text = cstr(x)
    

    Hope this helps.

    Regards,
    Advansys Support