I found in a specific case spanner's ROUND() function returns unexpected value.
Here's what I found.
SELECT ROUND(34.092135, 8)
> 34.092135
SELECT ROUND(34.092136, 8)
> 34.092135999999996 // this is supposed to return 34.092136
SELECT ROUND(34.092137, 8)
> 34.092137
I found these queries work the same with BigQuery.
Is there any misassumption on my side, or if not, how can I make it work correctly?
Thanks.