Delphi xe10 decimal separator1/3/2023 ![]() > String sVal = String( iVal ) + L"." + String( iDec ) > _int64 iDec = (val * precision) - (iVal * precision) ![]() > String doubleToString( double val, int precision=1000)//. > What about making Your own, something like this: Re: How to set decimal separator when using delphi parser ![]() How can i force the decimalseparator to '.' when using the parser ?įunction TXMLGeometryType.Get_Height: Double We use these in a C++ builder 9 program.īut when I (try to) read the double fields it uses the decimal separator which is in the windows locales.īecause we work internationally, we want the decimalseparator in the xml files to be allways '.' I tried to set the DecimalSeparator to '.' on all levels, even in the. News Group: įor several xml files we created a parser with the Delphi data binder. How to set decimal separator when using delphi parser ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |