matemat: coercions

This commit is contained in:
Astro 2020-04-04 04:24:17 +02:00
parent ec4878a870
commit aa05ec171d
1 changed files with 2 additions and 2 deletions

View File

@ -24,9 +24,9 @@ data.each do |d|
name: d["name"],
},
values: {
price: d["price"],
price: d["price"].to_f,
value: d["value"],
volume: d["volume"],
volume: d["volume"].to_f,
}
})
end