How to round in bigquery -


how round 0.2356 0.23 in google bigquery?

remember round returns float, hence has 2 parameters , in 2nd parameter able define decimals want returned. others ceil, floor return integer, hence no second parameter, can mimic decimals using math.

select floor(0.2356*100)/100 

Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -