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

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

MCP · Azure DevOpsYour delivery board, readable by an agentMCP · DataverseOne consent, and the data layer opensMCP · Dynamics 365 F&OConnecting F&O to an agent Microsoft hasn’t documented
Archive recovery note: the supplied Blogspot backup did not contain a separate saved page for this older entry. The text available in its archive/listing capture has been preserved and flagged for a later completeness check.
static void SealORFloorValues(Args _args) { AmountMst amount; amount = 2.4; print round(amount, 1); pause; } // if value is 2.5 then it will print 3 // if value if 2.4 then it will pront 2
Previous article← Financial Dimensions
Discussion

Ask a question or leave feedback

This is a review interaction. The WordPress version will store, thread and moderate comments.

Thanks — submitted for moderation in this review.
Search the whole site · Ctrl/⌘ + K