function - how to cap a php int value -


I'm doing some calculation with php and I want to be above number 100

example I do not want 50 + 80 to 100 and 130. Basically capsize any result up to 100.

Thanks

Comments

Popular posts from this blog

android - How can I execute default sms app? -

jquery .css('text-decoration') doesn't work from parents -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -