Yes! If statements work with doubles and integers alike.
Remember that numbers have no quotation marks.