remove decimal php
snippet in php

remove decimal php

user2237

$var = 252.587254564;
$var = (int)$var; // 252