Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Fosse committed Feb 26, 2024
1 parent 0fa2901 commit 4368a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/taiwan.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export async function fetchData (source, cb) {
const unifiedData = formattedData.map(unifyMeasurementUnits);
const roundedData = unifiedData.map(item => ({
...item,
value: Number(item.value.toFixed(4))
value: parseFloat(item.value.toFixed(4))
}));

cb(null, {
Expand Down

0 comments on commit 4368a9d

Please sign in to comment.