if ( ! string . IsNullOrWhiteSpace ( txtAxNominalWidth . Text ) && decimal . TryParse ( txtAxNominalWidth . Text . Trim ( ) , out val ) )

else if ( decimal . TryParse ( lblAxNominalWidth . Text . Trim ( ) . Replace ( "in" , "" ) , out val ) )