Показать сообщение отдельно
Старый 22.11.2010, 01:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,646 / 848 (80) +++++++
Регистрация: 28.10.2006
xplusplus: Warning: Assignment/Comparison loses precision.
Источник: http://xplusplus.info/index.php/warn...ses-precision/
==============



This warning appears when trying to convert Real or Int64 variables to int, like in the following example:
info(int2str(emplTable.RecId)); emplTable.RecId returns a Int64 value, and by converting it through int2str function we actually changing the data.
The solution is to use the correct converting function, in that case it is int642str()
info(int642str(emplTable.RecId));


Источник: http://xplusplus.info/index.php/warn...ses-precision/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.