[ create a new paste ] login | about

Link: http://codepad.org/myLIEIsr    [ raw code | output | fork | 1 comment ]

PHP, pasted on Jul 8:
1
2
3
4
5
<?php

list($whole, $decimal) = sscanf(1.5, '%d.%d');

var_dump($whole, $decimal);


Output:
1
2
int(1)
int(5)


Create a new paste based on this one


Comments:
posted by gggg on Sep 25
ffgdfgdfgd
reply