Home Grails String to BigDecimal
Reply: 0

Grails String to BigDecimal

user299 Published in April 19, 2018, 8:54 pm

I can't figure out how to transform a String into a BigDecimal inside a Grails Application.

I'm doing:

person.salary = params.number

But I got a error.

*salary is a BigDecimal and params.number is always a string.
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.30212 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO