Jump to content


Photo

Can I assign an Int64 to a Cell[].asInteger?


  • Please log in to reply
4 replies to this topic

#1 BelangerC

BelangerC

    Senior Member

  • Members
  • PipPip
  • 221 posts
  • Location:Richmond, CA USA
  • Interests:Alternative medicine, programming for

Posted 04 August 2021 - 11:02 AM

Hi, Boki:

Will the cell display the full Int64 number?

Notice that you do not have AsInt64 or AsBigInt or equivalent.

 

Thank you,

Chuck



#2 BelangerC

BelangerC

    Senior Member

  • Members
  • PipPip
  • 221 posts
  • Location:Richmond, CA USA
  • Interests:Alternative medicine, programming for

Posted 06 August 2021 - 10:27 AM

Until I get an answer, I am converting the Int64 to a string and using a text column and then back when needing an Int64.

Chuck



#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 11 August 2021 - 01:30 PM

Hi Chuck,

 

Sorry for delay, I'm back to work.

 

Every column store data in own way. For example some column types store cells using TNxFloatCell that stores value as Double. I can add AsInt64 for all of cell types, but some of the column types will need to do a conversion (for example string type columns).

 

Tell me what you think.


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#4 BelangerC

BelangerC

    Senior Member

  • Members
  • PipPip
  • 221 posts
  • Location:Richmond, CA USA
  • Interests:Alternative medicine, programming for

Posted 11 August 2021 - 09:38 PM

Hi, Boki:

That would work, i.e. adding asInt64. For the my immediate application, I ended up using a text column then did the conversion in the program. I was not actually doing any mathematical processes on the column, so it is working fine. The number in question acts more as a unique identifier, not an actual number.

Thank you,

Chuck



#5 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 13 August 2021 - 01:58 PM

Hi,

 

I have added it. It will be available in the next update. As no column is storing value natively into the Int64, the value will be just converted from existing type.


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users