for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace luya\web\jsonld;
/**
* The price accepted.
*
* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.
* @author Basil Suter <[email protected]>
* @since 1.2.2
*/
class PriceValue extends BaseValue
{
private $_price;
public function __construct($price)
$this->_price = $price;
}
public function getValue()
return str_replace(",", ".", $this->_price);