[ https://issues.apache.org/jira/browse/OLINGO-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532553#comment-17532553 ]
Victor Hu commented on OLINGO-1549: ----------------------------------- I refiled this Question as a Bug in OLINGO-1568. > cannot create amount smaller than 0.10 > -------------------------------------- > > Key: OLINGO-1549 > URL: https://issues.apache.org/jira/browse/OLINGO-1549 > Project: Olingo > Issue Type: Question > Components: odata4-client > Affects Versions: (Java) V4 4.8.0 > Reporter: wim wintmolders > Priority: Major > > The following throws an exception > {code:java} > new ClientObjectFactoryImpl().newPrimitiveValueBuilder().buildDecimal(new > BigDecimal("0.04")).toString(); > {code} > {noformat} > java.lang.IllegalArgumentException: > org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException: The value '0.04' > does not match the facets' constraints. > {noformat} > Not sure if I'm doing anything wrong, but any number above 0.09 does work. -- This message was sent by Atlassian Jira (v8.20.7#820007)