Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Price and priceValue: different values #731

Closed
tiziana-git opened this issue Mar 27, 2023 · 4 comments
Closed

Price and priceValue: different values #731

tiziana-git opened this issue Mar 27, 2023 · 4 comments

Comments

@tiziana-git
Copy link

Hello
why does price and priceValue have two different values? Same thing on regular_price and regular_priceValue
immagine

@tiziana-git
Copy link
Author

I have found the issue, on BaseObject line 61
In this case price is 14.23 but it returns 1423:
immagine

immagine

@tiziana-git
Copy link
Author

Value.ToString() is 14,23

@XiaoFaye
Copy link
Owner

Please follow this link https://github.com/XiaoFaye/WooCommerce.NET/wiki/How-to-use-JSON.NET-in-WooCommerce.NET to use Json.NET if you have this issue.

@XiaoFaye
Copy link
Owner

@tiziana-git Version 0.8.6 has the ability to pass your own CultureInfo, this should fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants