Skip to content

Serializing .net class with decimal (5,2) #206

Closed Answered by dstelljes
jeromesubs asked this question in Q&A
Discussion options

You must be logged in to vote

As of 9.0.0, you can use the [Range] attribute to override decimal precision and scale for a field or property. See the release notes for details.

For earlier versions, or to change the default precision and scale for all generated decimal schemas, see this previous answer.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dstelljes
Comment options

Comment options

You must be logged in to vote
1 reply
@jeromesubs
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by dstelljes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants