for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace As3\Modlr\DataTypes\Types;
/**
* The float data type converter.
*
* @author Jacob Bare <[email protected]>
*/
class FloatType implements TypeInterface
{
* {@inheritDoc}
public function convertToModlrValue($value)
if (null === $value) {
return $value;
}
return (Float) (String) $value;