# Error with Decimal for .net

**URL:** <https://community.rapyd.net/t/error-with-decimal-for-net/59162>\
**Category:** 🙋🏽‍♀️🙋🏽‍♂️ Ask Questions\
**Tags:** question\
**Created:** [April 5, 2024, 4:00am UTC](https://community.rapyd.net/t/error-with-decimal-for-net/59162 "2024-04-05T04:00:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![drew.harris](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/drew.harris/32/1259_2.png) [@drew.harris](https://community.rapyd.net/u/drew.harris)\
**Post date:** [April 8, 2024, 4:37pm UTC](https://community.rapyd.net/t/error-with-decimal-for-net/59162/3 "2024-04-08T16:37:02Z")

</div>

Checking in again @Alonso_Martinez - here is a [topic](https://community.rapyd.net/t/problem-with-signature/195) that may help.

Separately, here is a Note from [Rapyd Docs:](https://docs.rapyd.net/en/request-signatures.html#idm46773525602864)

### Note

- Different languages handle Base-64 encoding differently. You must adequately test your code so that all messages are encoded with all the correct Base-64 options.
- Python and JavaScript truncate the rightmost zeroes from decimal numbers (12.50 → 12.5), and convert decimals to integers when all digits to the right of the decimal are zero (12.00 → 12). This can sometimes cause issues with the calculation of the signature. If you use rightmost zeroes, you can avoid these problems by sending them as numeric strings instead of JSON numbers, for example, `"12.50"` or `"12.00"`.
- The body of a request must not contain any whitespace other than inside a string.
- The value of a path parameter is a string without any quote marks (`"`).

---

_[View the full topic](https://community.rapyd.net/t/error-with-decimal-for-net/59162)._
