AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 14.12.2015, 22:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
mfp: X++ in AX7: Reals are decimals
Источник: http://blogs.msdn.com/b/mfp/archive/...-decimals.aspx
==============


In AX2012 reals are compiled as System.Decimal when compiling IL code. In AX7 that is the only option.

The main difference between the two is the maximum value supported:

AX 2012:
AX 7:

~ 9E127
~ 8E28


Both numbers should be large enough for most ERP scenarios – but you could get burned when doing arithmetic.


For example in AX7 you get an "Value was either too large or too small for a Decimal" exception when multiplying big reals - like realMax()



In AX 2012 the above would be within the supported range.

Another related improvement is that you now can control the number of decimals when Real based Extended Data Types are persisted in the data base, and the default is now 6 decimals – but that is another story.



THIS POST APPLIES TO MICROSOFT DYNAMICS AX7 TECHNICAL PREVIEW; IS PROVIDED AS-IS AND CONFERS NO RIGHTS.






==============
Источник: http://blogs.msdn.com/b/mfp/archive/...-decimals.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
mfp: X++ in AX7: Client/Server keywords Blog bot DAX Blogs 23 15.12.2015 09:09
mfp: X++ in AX7: Static event subscription Blog bot DAX Blogs 0 11.12.2015 11:11
mfp: X++ in AX7: Private and public members Blog bot DAX Blogs 12 10.12.2015 09:08
mfp: X++ in AX7: The var keyword Blog bot DAX Blogs 43 04.12.2015 10:19
mfp: X++ in AX7 Blog bot DAX Blogs 0 02.12.2015 22:13

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 18:27.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.