#90 Boolean to number auto conversion

closed
None
5
2007-04-08
2007-04-06
No

Integer to Boolean does work. But the jakarta commons Integer doesnt appear to support Boolean src value. Seems like this could be handled automatically

Discussion

  • Matt Tierney

    Matt Tierney - 2007-04-06

    Logged In: YES
    user_id=1236069
    Originator: YES

    fixed

     
  • Matt Tierney

    Matt Tierney - 2007-04-06
    • assigned_to: nobody --> mhtierney
    • status: open --> pending
     
  • Matt Tierney

    Matt Tierney - 2007-04-06

    Logged In: YES
    user_id=1236069
    Originator: YES

    Add support for auto conversion of Boolean --> Int, Boolean --> Long

    If boolean value = "true", then the number value will be 1. If boolean value = "true", then the number value will be 0.

     
  • Matt Tierney

    Matt Tierney - 2007-04-06
    • summary: Boolean to Integer auto converstion fails --> Boolean to number issue
    • status: pending --> open
     
  • Matt Tierney

    Matt Tierney - 2007-04-07
    • status: open --> pending
     
  • Matt Tierney

    Matt Tierney - 2007-04-07
    • status: pending --> open
     
  • Matt Tierney

    Matt Tierney - 2007-04-07
    • status: open --> pending
     
  • Matt Tierney

    Matt Tierney - 2007-04-07
    • summary: Boolean to number issue --> Boolean to number auto conversion
    • status: pending --> open
     
  • Matt Tierney

    Matt Tierney - 2007-04-07
    • status: open --> pending
     
  • Matt Tierney

    Matt Tierney - 2007-04-08
    • status: pending --> closed
     
  • Matt Tierney

    Matt Tierney - 2007-04-10

    Logged In: YES
    user_id=1236069
    Originator: YES

    Correct typo in previous comment....

    Add support for auto conversion of Boolean --> Int, Boolean --> Long

    If boolean value = "true", then the number value will be 1. If boolean
    value = "FALSE", then the number value will be 0.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks