forallpeople icon indicating copy to clipboard operation
forallpeople copied to clipboard

Extra brackets when forcing output units with .prefix() in handcalcs formulas

Open cream68 opened this issue 4 months ago • 0 comments

To force the output units in a handcalcs formula, I need to append the .prefix("something") function. Unfortunately, for formulas, I have to wrap the entire formula in brackets and then apply the .prefix("") function, which results in additional brackets in the handcalcs output, e.g.:

A = ((D/2-t_p)*sqrt(D*t_p-t_p**2)).prefix('c')

Any ideas on how to resolve this issue?

By the way, I love this package!

cream68 avatar Oct 18 '24 08:10 cream68