Skip to content
+1-888-319-3663
Contact Us
Menu
Software
SmartConnect
Popdock
Extender
Flexicoder
Node Builder
SmartList Builder
SmartPost
SmartView
Services
Training
Dedicated Support
Professional Services
Support
Partners
Shop
Events
Blog
Downloads
Sign In
Account Login
Login to access your account
eOne Portal
SmartConnect.com
Popdock.com
Sign In
Sign In
Sign In
Access Product Keys
Submit a Support Ticket
Access the eOne Training Hub
Sign In
eOne Portal
SmartConnect.com
Popdock.com
COMMUNITY
FORUM
Converting from string to rounded Decimal
eOne Forum
/
SmartConnect Questions
0
Vote Up
Vote Down
Adrian asked 7 years ago
Decimal subt= System.Convert.ToDecimal( _SUBTOTAL);
return System.Decimal.Round(subt ,2);
Adrian replied 7 years ago
Can the above code be use in addition columns?
Answers
0
Vote Up
Vote Down
Lorren Zemke
Staff
answered 7 years ago
Adrian,
Yes, you could use that code. Make sure you set the Language on the Map Options tab to use C#.
You could also use do the following to shorten it.
return Decimal.Parse(_SUBTOTAL.ToString()).Round(2);
If you would like to submit an answer or comment, please
sign in
to the eOne portal.
Can the above code be use in addition columns?