Either by script steps
If ( IsEmpty(FieldA) )
SetField (FieldB ; your price here )
....or by calculation:
FieldB definition is (result is number): If (IsEmpty (FieldA) ; yourpricehere ; what you want if FieldA has a value)
The calculation option may require that you clear the "do not evaluate if all referenced fields are empty" check box.