I'm not familiar with PHP and have a quick question.
I have a value of 2 variables @ peerutite and @ViSSeGians, which is setting them on values:
$ invoice units = ((string) $ invoice line item - & gt; Involved Units); $ Value PerUnit = ((string) $ invoice line item-> gt; PricePerUnit);
If I output it, then I get the correct value. Come get 5000 invoice units and 1.00 for the price.
Now, I have to show the total amount spent
But I have no clue how to parse / cast / convert variables into PHP.
What should I do?
$ rootbeer = (float) $ InvoicedUnits;
Check it out for you. You should also read
Comments
Post a Comment