Menu

#3 Money split between players sometimes results in decimal place numbers.

1.0
closed
None
2020-02-28
2020-01-22
A. T
No

Hi Hans,

I'm getting a bug: Sometimes when the money is split between players there's a very long decimal place number for the current money.

example: $502,03424204024

Thank you!

Related

Tickets: #3

Discussion

  • Nilsson Opel

    Nilsson Opel - 2020-01-26
    • assigned_to: Hans T Walheim
     
  • Nilsson Opel

    Nilsson Opel - 2020-01-26

    You are right. I am currently busy with other commitments but will take a look at it when time allows.

     
  • Nilsson Opel

    Nilsson Opel - 2020-02-08

    My current idea is, when there is fractions, to collect them into an integral and put it into the next pot. What do you say?

     
  • A. T

    A. T - 2020-02-08

    Great!!!

    Thank you!

     

    Last edit: A. T 2020-02-08
    • Nilsson Opel

      Nilsson Opel - 2020-02-09

      Sorry,
      I do not know, never used an iframe (I think). It could be that the poker game is in HTML5 ? See https://www.w3schools.com/tags/tag_iframe.asp that some attributes has changed.

      But look in the debugger, usually F12 in your browser, to see if you can get any clues, also try them all Firefox, Chrome, Edge...

      From: A. T lexterror@users.sourceforge.net
      Sent: Saturday, February 8, 2020 6:17 PM
      To: [js-css-poker:tickets] 3@tickets.js-css-poker.p.re.sourceforge.net
      Subject: [js-css-poker:tickets] #3 Money split between players sometimes results in decimal place numbers.

      Great!

      Also, if it's not too much to ask: Do you know of a way of running "JS-CSS-Poker" in an "iframe"?
      I tried starting the game, but it wouldn't run.

      Thank you!


      [tickets:#3]https://sourceforge.net/p/js-css-poker/tickets/3/ Money split between players sometimes results in decimal place numbers.

      Status: open
      Milestone: 1.0
      Created: Wed Jan 22, 2020 07:13 PM UTC by A. T
      Last Updated: Sat Feb 08, 2020 08:51 AM UTC
      Owner: Hans T Walheim

      Hi Hans,

      I'm getting a bug: Sometimes when the money is split between players there's a very long decimal place number for the current money.

      example: $502,03424204024

      Thank you!


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/js-css-poker/tickets/3/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #3

  • Nilsson Opel

    Nilsson Opel - 2020-02-28
    • status: open --> closed
     
  • Nilsson Opel

    Nilsson Opel - 2020-02-28

    Should be fixed with 28/Feb/2020 release.

    Sorry, left cruft from the test in the 28/Feb so that it will add a '3' to the global remainder - fixed in 01/Mar/2020 release.

     

    Last edit: Nilsson Opel 2020-03-01
  • A. T

    A. T - 2020-02-28

    Thanks!!!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.