Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to get a whole number from decimal in php

<?php 
$number = 23.325;

// english notation (default)
$english_format_number = number_format($number);

echo $english_format_number;
//Publisher name - Bathila Sanvidu Jayasundara
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #number #decimal #php
ADD COMMENT
Topic
Name
8+1 =