disable units

disable units - 消息

#1 已发布: 2011/7/4 18:35:33
studoc

studoc

0个赞,共17个帖子。

组: User

Can anyone help me disable units...?

The further I go with me calc sheet, the funkier the units results become....

I know what the units should be, I would rather be responsible for the units outcome, how can I stop the program from calculating the units result, but still show what the units of the calculation are...?

thanks guys,

Stuart..
#2 已发布: 2011/7/5 01:15:35
Radovan Omorjan

Radovan Omorjan

325个赞和1个踩,共2,052个帖子。

组: Moderator

Hello Stuart,

As far as know, there is no way in SMath to suppress using units. The only thing is to get a dimensionless results by dividing the result with the result's units.
Could you give me an example of what do you really want to do, please.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 已发布: 2011/7/7 20:11:05
Edward Ulle

Edward Ulle

21个赞,共182个帖子。

组: Moderator

Stuart,

I use Imperial units constantly, feet, inches, pounds, etc. and SMath has handled these flawlessly. In fact it has prevented mistakes with mixed units especially feet and inches. So don't know what might be the problem with the units your using. But you can always redefine units to unity.

In the example below, 12 inches equals 1 foot. Then I reassign the unit 'in to be 1 and 'ft to be 1. Now I can assign units but they would have no effect on the calculations. To create or reassign units type the single quote followed by the name. After the units have been reassigned to 1 any calculation would be unitless and just go to the end of the line and type 'ft to display the value with a unit suffix.

Don't thinks there's any way to turn off units in SMath and in fact its an integral part of the way data is stored in the program.

[LIVE width=200 height=200]http://smath.info/live/?file=2924[/LIVE]
Ed
#4 已发布: 2011/7/8 10:50:47
callmeishmael

callmeishmael

4个赞,共15个帖子。

组: User

Units handling in SMath seems to be pretty robust. If you are getting funky results, then there's ptobably something you should check in your calculation.
Can you please post an example of what you get, specifing what you would expect?

Nevertheless, if you do not want units, simply do not use, define the input as unitless variables and you're done.
  • 有新帖
  • 无新帖