Skip to main content

Questions tagged [integer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
96 views

Generate random numbers in the smart contract

I am writing smart contract and stucked on this line : int p = 0; p = (rand() % 997); This is giving error error: use of undeclared identifier 'rand' I do search and got some reference links but ...
Varsh's user avatar
  • 307
4 votes
1 answer
352 views

How do I use big ints in eos?

Is there a library that will let me store big ints and then perform arithmetic on them in eos smart contracts? I was trying to use the multiprecision library in boost but kept on getting an error: ...
cookiekid's user avatar
  • 528
1 vote
1 answer
66 views

variables which type is account_name is shown as integer since Dawn4.1, while it is string in Dawn4.0

Also if my action have an account_name param, it will ask for an integer too. Is it right? The following is what I post in telegram channel. Hi guys, my table's account field is shown/passed as an ...
user854's user avatar
  • 23