标签: groovy
如何在Groovy中精确使用float或double。在我的域类中,我声明如下:
class Empinfo{ String name Double rate/hour }
我希望将员工的费率存储为42.50等。