Minggu, 11 April 2021

Convert Amount to String

Hi Guys,

to do this dynamically, here is a solution:

System.Double netDouble;

anytype r1 = 1.125;

str s1;

netDouble = Global::real2double(r1);

s1 = netDouble.ToString();

info(strFmt("%1",s1));


https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/73896/convert-amount-money-to-string

Tidak ada komentar:

Posting Komentar

Erorr CS1963 - An expression tree may not contain a dynamic operation.

Kali ini saya mendapatkan erorr dengan code CS1963, padahal sebelumnya saya sudah mendefinisikan 'var item in Model' di @foreach(var...