Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
remove decimal php
Gordon Bean
Programming language:
PHP
2021-03-30 14:07:50
0
Q:
remove decimal php
Naomi
Code:
PHP
2021-06-18 18:44:53
$var = 252.587254564; $var = (int)$var; // 252
0
sle7en
Code:
PHP
2021-02-19 12:22:13
(int)-1.2
0
Tags
php
remove
Related
string remove line breaks php
php 2 decimal places without rounding
remove number after decimal in php
round to 2 decimal places php
php trim
php round decimal
2 decimal round using php
php round 2 decimals
hex to decimal php
php remove numbers from string
how to get only decimal value in php
remove behind comma php
strip non numeric and period php
remove first letter php
php remove after character
php remove dashes from string
remove space from string php
php how to get decimal after devide
fix to 2 decimal places php
New to Communities?
Join the community