Re: Projeblem when using custum fields
Reply #1 –
@xela05 you cannot make a calculation on a string. once the value you are dealing with contains characters other than numbers, it is a string. In other to do calculations with them you need to convert t to an integer, double or float value. You can read more here PHP - How to Convert String to Float? (tutorialkart.com) to understand.
$product = (float) $value1 * (float) $value2