@bstix@feddit.dk
link
fedilink
English
1
edit-2
7M

Can’t you just type in the digits of the Pi that you want to use in some cell and then refer to that cell instead of using the default Pi?

5 is mathematically a “round-up” number. If you want your numbers to behave differently I think you’d be better off using a different function.

@Omega_Haxors@lemmy.ml
link
fedilink
English
1
edit-2
7M

Five isn’t mathematically a round-up number, we just arbitrarily decided to round up because numbers were used in merchant contexts where obviously you want to get people to pay more for their stuff than less. As for solutions I just introduce a tiny error because it’s genuinely less effort than constantly referencing a cell and locking it so that it won’t run away if you drag it around. It’s a very easy to forget a lock.

@bstix@feddit.dk
link
fedilink
English
17M

Name the cell “myPi” and use that instead of the Pi function.

@Omega_Haxors@lemmy.ml
link
fedilink
English
17M

That’s a pretty high-q move. I’ve moved to LibreOffice which does Pi properly, but i’ll keep that in mind next time I need a static data reference.

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.7K Comments
  • Modlog