Gnutella Forums  

Go Back   Gnutella Forums > Discontinued Gnutella Client Forums > Qtella (Linux/Unix)
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Qtella (Linux/Unix) Qtella has been discontinued. We highly recommend you use an actively developed client instead.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old April 16th, 2002
Novicius
 
Join Date: April 16th, 2002
Posts: 1
vishalmarya is flying high
Default division

what is the command ( syntax ) of getting
Q and remainder .

On dividing 999 by 100 , i should get 9 as Q and Remainder as 99 .

What is the syntax of getting the value of 10 to the power 3

i don't want to use 10*10*10 .

some direct command ?

Thanks
Reply With Quote
  #2 (permalink)  
Old April 17th, 2002
Unregistered
Guest
 
Posts: n/a
Default bc

if you got 'bc' installed you can use that, with the flag -l, like this:
user@moo:~$ echo 999/100 | bc -l
9.99000000000000000000
Reply With Quote
  #3 (permalink)  
Old April 17th, 2002
Novicius
 
Join Date: March 26th, 2002
Posts: 1
bodly is flying high
Default

% is the generally used sign for modulus (i.e. getting the remainder in division)

^ is generally used for powers (e.g. 10^3)

so your examples are 999%100 and 10^3

Your pal,
bodly
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Division by Zero Error TheDude Gnotella (Windows) 2 February 6th, 2001 07:49 PM
Scan Folder results in Division by 0 eddie j Gnotella (Windows) 0 February 2nd, 2001 10:28 AM


All times are GMT -7. The time now is 11:09 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.