It's certainly great to have the BigDecimal functionality in B4J. I need to pass the BigDecimal value to an InLine Java function and I cannot determine how to do that. I also need to receive a BigDecimal result.
While I can and have converted the Java function to B4J code and it works fine, for the purpose of this exercise and for future usage I would like to use InLine Java code also.
Currently I am passing the BigDecimal as a String and receiving the result as a String. While this works OK, the ability to pass and receive a Java BigDecimal would be preferable.
Is there a way to do that? If so, an example would be good.
While I can and have converted the Java function to B4J code and it works fine, for the purpose of this exercise and for future usage I would like to use InLine Java code also.
Currently I am passing the BigDecimal as a String and receiving the result as a String. While this works OK, the ability to pass and receive a Java BigDecimal would be preferable.
Is there a way to do that? If so, an example would be good.