Why is PHP printing my number in scientific notation, when I specified it as .000021? May 5, 2023 by Tarik Use number_format() to get what you’re after: print number_format($var, 5); Also check sprintf()