Цитата:
Сообщение от
Arseny
Почему Аксапта в возвращаемом числе каждую тройку разрядов отделяет пробелом?
Потому что таковы региональные настройки на вашем компе.
А Аксапта их учитывает.
Цитата:
Сообщение от
Arseny
Как это обойти?
Использовать функцию явного преобразования числа в строку num2str
Цитата:
Num2Str
Syntax
str Num2Str (real number,int characters,int decimals,int separator1,int
separator2)
Description
Converts the decimal number specified by number to a text string. The minimum number of characters required in the text is specified by characters, and the required number of decimals is specified by decimals. The decimal separator required in the text is specified by separator1, and the thousands separator required in the text is specified by separator2.
Examples
Num2Str(12345.6,10,2,2,1)
returns "12.345,60".
Num2Str(12345.6,1,0,1,0)
returns "12346".
Notes
The possible values for separator1 are:
'1': a '.' (point) used as decimal separator
'2': a ',' (comma) used as decimal separator.
The possible values for separator2 are:
'0': no thousands separator
'1': a '.' (point) used as thousands separator
'2': a ',' (comma) used as thousands separator
'3': a ' ' (space) used as thousands separator.
MorphX replaces any invalid parameter with a standard value.
See also
Str2Num