Do You have workflows available?
In that case, use the StrConv VBA function in an arithmetic expression with the appropriate param from the VbStrConv enum:
https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.strings.strconv?redirectedfrom=MSDN&view=net-5.0#Microsoft_VisualBasic_Strings_StrConv_System_String_Microsoft_VisualBasic_VbStrConv_System_Int32_
https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.vbstrconv?view=net-5.0