goma smile Posted July 26, 2013 Report Share Posted July 26, 2013 (edited) Iedomājieties ir Daudzums un minimums kam jābūt, ka caur if'u var pārbaudīt vai starpība starp daudzumu un minimumu ir mazaka/lielāka par 10% kkā šādi if(($value->count - $value->minimum) <= 10%) vai kā kur loģika pašreiz man tās galvā nav Edited July 26, 2013 by goma smile Quote Link to comment Share on other sites More sharing options...
jurchiks Posted July 26, 2013 Report Share Posted July 26, 2013 $div = $count / $min; if ($div > 1.1 || $div < 0.9) { ... } Quote Link to comment Share on other sites More sharing options...
marrtins Posted July 27, 2013 Report Share Posted July 27, 2013 Kurā klasē goma mācās? Pirmsskolas mācību iestādē? Quote Link to comment Share on other sites More sharing options...
goma smile Posted July 29, 2013 Author Report Share Posted July 29, 2013 Kurā klasē goma mācās? Pirmsskolas mācību iestādē? Paldies Paldies pirms nedēļas tieši pabeidzu Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.