Jump to content

check if the number has decimal(.)


abs0lut

Recommended Posts

strpos() could return 0 if the string you are looking for is at the start and false will == 0

but if you say === it check the value and the data type. for false it is  boolean and the value is 0

true is boolean and a value of 1

 

Scott.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.