wp_back/wp-content/plugins/smart-slider-3/Nextend/Framework/Cast.php

18 lines
277 B
PHP
Raw Normal View History

2024-05-20 15:37:46 +03:00
<?php
namespace Nextend\Framework;
class Cast {
/**
* @param $number
*
* @return string the JavaScript float representation of the string
*/
public static function floatToString($number) {
return json_encode(floatval($number));
}
}