Wednesday, February 24, 2010

Round() function for SEAL and FLOOR values in X++

static void SealORFloorValues(Args _args)
AmountMst amount;
amount = 2.4;
print round(amount, 1);
// if value is 2.5 then it will print 3
// if value if 2.4 then it will pront 2

No comments:

Post a Comment

I will appreciate your comments !

Download large bacpac (sandbox database) to DEV environment much faster

As the LCS website gets slower and slower and the database backups get bigger and bigger.  Use AZCopy to download objects out of LCS asset l...