Unfortunately, no. The formula node is unit-unaware. You'll need to strip the unit (using the "Convert Unit" function) before passing the wire into the formula node.
This is one of many unit-related behaviors that we would like to improve in a future version of LabVIEW.