Re: [jira] Commented: (OFBIZ-3666) Errors attempting to use quantities with more than 2 decimals of precision

2010-04-15 Thread Adrian Crum
Adam Heath wrote: Adrian Crum (JIRA) wrote: [ https://issues.apache.org/jira/browse/OFBIZ-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855435#action_12855435 ] Adrian Crum commented on OFBIZ-3666: No, th

[jira] Commented: (OFBIZ-3666) Errors attempting to use quantities with more than 2 decimals of precision

2010-04-09 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855479#action_12855479 ] Jacques Le Roux commented on OFBIZ-3666: I completly agree about stronger data type

Re: [jira] Commented: (OFBIZ-3666) Errors attempting to use quantities with more than 2 decimals of precision

2010-04-09 Thread Jacques Le Roux
From: "Adrian Crum" Adam Heath wrote: Adrian Crum commented on OFBIZ-3666: No, the type conversion hasn't changed. The issue is there is no type to convert to. Quantity should be a type, and Money should be a type. Strong data typing would prevent applying

Re: [jira] Commented: (OFBIZ-3666) Errors attempting to use quantities with more than 2 decimals of precision

2010-04-09 Thread Adrian Crum
Adam Heath wrote: Adrian Crum wrote: http://www.martinfowler.com/ap2/quantity.html Haven't looked yet, thanks. http://timeandmoney.sourceforge.net/ Just based on the name, that's not what I want. I am after a fully general purpose any quantity+unit to any quantity+unit library. The clas

Re: [jira] Commented: (OFBIZ-3666) Errors attempting to use quantities with more than 2 decimals of precision

2010-04-09 Thread Adam Heath
Adrian Crum wrote: > Adam Heath wrote: >>> Adrian Crum commented on OFBIZ-3666: >>> >>> >>> No, the type conversion hasn't changed. The issue is there is no type >>> to convert to. Quantity should be a type, and Money should be a type. >>> Strong data typing wou

Re: [jira] Commented: (OFBIZ-3666) Errors attempting to use quantities with more than 2 decimals of precision

2010-04-09 Thread Adam Heath
Adrian Crum wrote: > http://www.martinfowler.com/ap2/quantity.html Haven't looked yet, thanks. > http://timeandmoney.sourceforge.net/ Just based on the name, that's not what I want. I am after a fully general purpose any quantity+unit to any quantity+unit library.

Re: [jira] Commented: (OFBIZ-3666) Errors attempting to use quantities with more than 2 decimals of precision

2010-04-09 Thread Adrian Crum
Adam Heath wrote: Adrian Crum commented on OFBIZ-3666: No, the type conversion hasn't changed. The issue is there is no type to convert to. Quantity should be a type, and Money should be a type. Strong data typing would prevent applying quantity precision t

Re: [jira] Commented: (OFBIZ-3666) Errors attempting to use quantities with more than 2 decimals of precision

2010-04-09 Thread Adrian Crum
http://www.martinfowler.com/ap2/quantity.html http://timeandmoney.sourceforge.net/ Adam Heath wrote: Adrian Crum (JIRA) wrote: [ https://issues.apache.org/jira/browse/OFBIZ-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855435#action_12855435

Re: [jira] Commented: (OFBIZ-3666) Errors attempting to use quantities with more than 2 decimals of precision

2010-04-09 Thread Adam Heath
Adrian Crum (JIRA) wrote: > [ > https://issues.apache.org/jira/browse/OFBIZ-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855435#action_12855435 > ] > > Adrian Crum commented on OFBIZ-3666: > > > No, the t

[jira] Commented: (OFBIZ-3666) Errors attempting to use quantities with more than 2 decimals of precision

2010-04-09 Thread Adrian Crum (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855435#action_12855435 ] Adrian Crum commented on OFBIZ-3666: No, the type conversion hasn't changed. The issue

[jira] Commented: (OFBIZ-3666) Errors attempting to use quantities with more than 2 decimals of precision

2010-04-09 Thread Bob Morley (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855430#action_12855430 ] Bob Morley commented on OFBIZ-3666: --- I agree specifying any precision seemed incorrect; b

[jira] Commented: (OFBIZ-3666) Errors attempting to use quantities with more than 2 decimals of precision

2010-04-09 Thread Adrian Crum (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855425#action_12855425 ] Adrian Crum commented on OFBIZ-3666: Why specify 6 decimals? What if another user neede