brick / money

A money and currency library for PHP
MIT License
1.61k stars 96 forks source link

what is the default value of null price? #71

Closed Huthaifah-kholi closed 1 year ago

Huthaifah-kholi commented 1 year ago

I'm using the "discount price" column in my e-commerce app. When there is no discount for the product the discount price is null, I want to check if this column is null or not in laravel view.

It seems this package overrides the null value with another, who can I check if there is a discount price or not?

BenMorel commented 1 year ago

Hi, I don't understand your question, I think it's not a question related to the package itself, but to the integration you've done with Laravel?

BenMorel commented 1 year ago

Closing due to lack of feedback.