Best practice to represent Money (value + currency) in Grails

后端 未结 5 1263
逝去的感伤
逝去的感伤 2021-02-14 17:01

I\'m not much familiar to Java Currency type, and how it being used in Grails. Though, I\'m yet to use it, I saw a tag to use in the views.

5条回答
  •  梦毁少年i
    2021-02-14 17:02

    Use the JScience library. It's just a shame it's not in a Maven repo yet, and doesn't have a Groovy wrapper to make it Groovier (TM).

提交回复
热议问题