[ create a new paste ] login | about

tomkyle+codepad@posteo.de

Name:
Email:
Site/Blog:
Location:
Default language:
Favorite languages:
About:

Saved pastes by tomkyle+codepad@posteo.de:

PHP, pasted on Dec 5:
1
2
3
4
5
<?php
function tofloat($num) {
    $dotPos = strrpos($num, '.');
    $commaPos = strrpos($num, ',');
    $sep = (($dotPos > $commaPos) && $dotPos) ? $dotPos : 
...
view (29 lines, 4 lines of output, 3 comments)