Message Boards Message Boards

Avoid weird formatting of the following mathematical expressions?

Posted 6 years ago

For some reason Mathematica keeps returning dots in between variables and their coefficients. So instead of "1000s" I get "1000.s". And even more weird, instead of "2500" I get "2500.".

Why is it happening and how do I get rid of it?

Attachment

Attachments:
POSTED BY: Daniel Voloshin

Hi,

It is a bit hard to believe that this question is meant seriously. Of course e.g. 2500. means that this number is of type Real, i.e. that it is 2500.0 - you are bothered by a simple decimal point! If you do not want this, then you should use Integers only, e.g. write 2/5 instead of 0.4, etc..

POSTED BY: Henrik Schachner
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract