Round float to 2 decimals

Converts number to "XXX.XX" format with 2 figures after dot.

php
fork add to bundle source
function round_number_2($number) { return number_format((float)$number, 2); }

usage

load_function('round_number_2'); echo round_number_2(123.2311); // 123.23
← how to use this in app?
create log ...inout