You compare b.0 (length, 2.55 inches) to unitless 0.25 (what? meters? picas? kilograms?). You should:
1. Compare unit-wise (if b.0<=0.25*'in)
2. Remove units in "else" clause to make unitless result (if you need it like that): 2.52*sqrt(b.0/'in)
or, alternatively
2a. Use units in first option (before "else" ): 1*'in, AND restore units in "else" clause": 2.52*sqrt(b.0/'in)*'in
С уважением,
Михаил Каганский