Jump to content



Photo
- - - - -

What Is Int Int?


  • Please log in to reply
8 replies to this topic

#1 hamregutten

hamregutten

    Newbie

  • Members
  • Pip
  • 4 posts

  • Calculators:
    cfx-9850GC Plus

Posted 29 August 2007 - 07:59 PM

I watched a site for programming some small games. What does Int means?

#2 hamregutten

hamregutten

    Newbie

  • Members
  • Pip
  • 4 posts

  • Calculators:
    cfx-9850GC Plus

Posted 29 August 2007 - 08:57 PM

And what is BRan#?

#3 kucalc

kucalc

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Gender:Male
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly

    Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 30 August 2007 - 05:06 AM

Hello hamregutten and welcome to the UCF! :D

The BASIC command Int basically converts a number to a integer if not a integer already. For example:

Int 5.58782758279
Would give you back 5

For BRan#, I assume you meant Ran#. Ran# gives you back a random number between 0 and 1. You can increase the range by changing the default multiplicand of 1 to a different number. For example:

5Ran#
By multiplying Ran# by 5, it will give you a random number between the range 0 and 5.

#4 hamregutten

hamregutten

    Newbie

  • Members
  • Pip
  • 4 posts

  • Calculators:
    cfx-9850GC Plus

Posted 30 August 2007 - 06:10 AM

Ok, thanks for the answer, but can you give me an example of which buttons i have to press for Int an Ran#?
Can you show me what to press in this line: Posted Image??

You see the Int BRan#+1 :arrow: E. I have a Casio CFX 9850 GC PLUS if that helps but which buttons do I have to press for typing in that line??
Sorry, but I'm a newbie from Norway (Therefore my misspelling).

#5 kucalc

kucalc

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Gender:Male
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly

    Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 30 August 2007 - 06:22 AM

Oh, now I understand. The B before Ran# was a variable.

For Int:

1. <span class=OPTN' />
2. <span class=F6' />
3. <span class=F4' />
4. <span class=F2' />

For Ran#:

1. <span class=OPTN' />
2. <span class=F6' />
3. <span class=F3' />
4. <span class=F4' />

For more info about where to find more BASIC commands, please take a look at these documents:

http://www.casioeduc...0g/9850prgm.pdf
http://www.brianhetr...io/ikeyseq.html

#6 hamregutten

hamregutten

    Newbie

  • Members
  • Pip
  • 4 posts

  • Calculators:
    cfx-9850GC Plus

Posted 30 August 2007 - 06:31 AM

Thanks for learning me some new thing. Helped me a lot... :rolleyes:

#7 kucalc

kucalc

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Gender:Male
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly

    Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 31 August 2007 - 06:25 AM

Hey, no problem. It's our duty to help. :)

If you have any more questions just ask. ;)

#8 E_net4

E_net4

    Casio Freak

  • Members
  • PipPipPipPip
  • 189 posts
  • Gender:Male
  • Location:Output(&quot;Error: Coord type not specified&quot;);
  • Interests:Programming 'n' stuff...

  • Calculators:
    CASIO fx 9860G SD

Posted 31 August 2007 - 05:28 PM

By the way, some calculators have the catalog (for the fx-9860G is <span class=Shift' /> <span class=4' />). It shows you all commands you can use.

#9 kucalc

kucalc

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Gender:Male
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly

    Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 01 September 2007 - 04:01 PM

I think the catalog feature is kind of new on CASIO's. I believe only the fx-9860G has them.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users