mgreminger / EngineeringPaper.xyz

EngineeringPaper.xyz is a web app that makes it easy to create, save, and share engineering calculations.
https://EngineeringPaper.xyz
MIT License
119 stars 8 forks source link

Units after a power causes a syntax error #247

Closed VanHulleOne closed 2 weeks ago

VanHulleOne commented 5 months ago

Putting units directly after a power (not in the power but after) causes a syntax error. J=3*10^6[m] Does not work. Both J=10^6*3[m] and J=3*10^6*1[m] work as expected.

I know it is not an easy task but more descriptive error messages would be nice. Took me a bit to figure out what was the problem this time.

Thanks again for the great at ever improving product!

mgreminger commented 5 months ago

Thanks for the issue report. Yes, I agree that this can be confusing. It's in the plans to implement this eventually, not sure on the time frame.