first
This commit is contained in:
18
wp-content/plugins/smart-slider-3/Nextend/Framework/Cast.php
Normal file
18
wp-content/plugins/smart-slider-3/Nextend/Framework/Cast.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?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));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user