I have the following JSON source file
[
{
"AccountNumber": 123456,
"Balance": 745.000283
},
{
"AccountNumber": 895686,
"Balance": 0.241000
},
{
"AccountNumber": 789876,
"Balance": -.000125
}
]
How to read and convert "Balance" value to currency type?
I use SSIS Integration Toolkit for Microsoft Dynamics 365 from KingswaySoft. I read the json file with the JSON source
component. Default the component reads the Balance
value as "float". Tried set data type as decimal
, as currency
, as a string followed by a conversion to decimal
, conversion to currency
etc.
But result always the one...
Instead of 745.000283
I get 745000283
Instead of 0.241000
I get 241