Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

In the example models, quantites are sometimes written with a decimal point as in “-65.mV”, rather than just “-65mV”. Is this significant?

0
Posted

In the example models, quantites are sometimes written with a decimal point as in “-65.mV”, rather than just “-65mV”. Is this significant?

0

No, it doesn’t make any difference. This is just a programming convention to be clear about whether a quantity is an integer or a floating point number. The purpose is to avoid accidental integer arithmetic, like writing (10 / 3) which evaluates to 3 in most programming languages, whereas (10. / 3) implies a floating point division and evaluates to 3.333… But in PSICS it doesn’t make any differnce since the data types are internally defined already.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123