code: protected function createMoneyFromFloat(string $amount = '0.00') : ?Money
      {
          $amount = static::priceStringToInt((string)$amount);
          return $this->createMoney($amount);
      }
docs: A helper method for creating a Money object from a float based on the shared currency
  
  The float can be any format, i.e. 1.50 or 1,50
  
  @param string $amount
  @return Money|null