Good morning,
if I convert a Decimal variable to String it replaces "." with "," is it possible to prevent this from happening?
Good morning,
if I convert a Decimal variable to String it replaces "." with "," is it possible to prevent this from happening?
Looks like you are hitting a culture formatting issue. The Microsoft documentation for Decimal.ToString() has the solution you need, but for quickness you can use:
value.ToString(CultureInfo.InvariantCulture)
or replace CultureInfo.InvariantCulture with
CultureInfo.CreateSpecificCulture("insert culture short code")