You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This cannot be considered a problem, but there is a slight doubt as to why we should default to doing everything like this.
The problem is as follows:
I wrote a service and passed in a number with the type BigDecimal. However, I found that in different time zones, this number ultimately receives different values. Upon checking the source code, I found that all parameters with the type BigDecimal in the service will be treated as amounts, forcing an international conversion.
The specific source code is in the convertType method in ParameterInfo.java.
I am very confused, what is the reason for doing this.
The text was updated successfully, but these errors were encountered:
I don't understand, what is the behavior you are seeing and how is it different from what you expect or would prefer? Specific examples are often helpful to make it clear.
This cannot be considered a problem, but there is a slight doubt as to why we should default to doing everything like this.
The problem is as follows:
I wrote a service and passed in a number with the type BigDecimal. However, I found that in different time zones, this number ultimately receives different values. Upon checking the source code, I found that all parameters with the type BigDecimal in the service will be treated as amounts, forcing an international conversion.
The specific source code is in the convertType method in ParameterInfo.java.
I am very confused, what is the reason for doing this.
The text was updated successfully, but these errors were encountered: