14 Replies - 5060 Views - Last Post: 08 February 2009 - 04:35 AM

#1 F!st!cuffs  Icon User is offline

  • D.I.C Head

Reputation: 12
  • View blog
  • Posts: 153
  • Joined: 15-July 08

Modulus(%) or Percentage(%)

Posted 08 January 2009 - 04:31 PM

I recently had an interview for a developer/db position. The interview was with the head of the IT department and the DBA. I was posed with the following question from the DBA.
"Do you know of any wild card characters in SQL and what are they"
My answer was asterisk, question mark, and modulus are a few. He said percentage was one too and I informed him that percentage and modulus were the same thing. I was under the impression that most in the IT field would know it's the same but maybe it's just those with a programming background. So what do you call it?

Is This A Good Question/Topic? 0
  • +

Replies To: Modulus(%) or Percentage(%)

#2 5thWall  Icon User is offline

  • Occasional Member

Reputation: 31
  • View blog
  • Posts: 529
  • Joined: 17-September 08

Re: Modulus(%) or Percentage(%)

Posted 08 January 2009 - 04:38 PM

Depends on the context. If I'm using it as an operator then it's modulus. If I'm using it as a character then it's a percent.
Was This Post Helpful? 0
  • +
  • -

#3 Tom9729  Icon User is offline

  • Segmentation fault
  • member icon

Reputation: 180
  • View blog
  • Posts: 2,641
  • Joined: 30-December 07

Re: Modulus(%) or Percentage(%)

Posted 08 January 2009 - 05:09 PM

http://en.wikipedia....odulo_operation

There's a table on the side of what symbol different languages use as their modulo operator.
Was This Post Helpful? 0
  • +
  • -

#4 KYA  Icon User is offline

  • g++ jameson.cpp -o beverage
  • member icon

Reputation: 3089
  • View blog
  • Posts: 19,137
  • Joined: 14-September 07

Re: Modulus(%) or Percentage(%)

Posted 08 January 2009 - 05:12 PM

Its both. Context determines what it actually is.
Was This Post Helpful? 0
  • +
  • -

#5 BetaWar  Icon User is offline

  • #include "soul.h"
  • member icon

Reputation: 1105
  • View blog
  • Posts: 6,918
  • Joined: 07-September 06

Re: Modulus(%) or Percentage(%)

Posted 08 January 2009 - 05:47 PM

Agreed with KYA and 5thWall. Depends on usage.
Was This Post Helpful? 0
  • +
  • -

#6 Gloin  Icon User is offline

  • Expert Schmexpert...
  • member icon

Reputation: 235
  • View blog
  • Posts: 4,489
  • Joined: 04-August 08

Re: Modulus(%) or Percentage(%)

Posted 08 January 2009 - 05:54 PM

When I sit down with the head of the IT-department, I call it whatever he calls it.
Was This Post Helpful? 0
  • +
  • -

#7 KYA  Icon User is offline

  • g++ jameson.cpp -o beverage
  • member icon

Reputation: 3089
  • View blog
  • Posts: 19,137
  • Joined: 14-September 07

Re: Modulus(%) or Percentage(%)

Posted 08 January 2009 - 06:16 PM

If he was wrong, I'd tell him he was an idiot.
Was This Post Helpful? 0
  • +
  • -

#8 Gloin  Icon User is offline

  • Expert Schmexpert...
  • member icon

Reputation: 235
  • View blog
  • Posts: 4,489
  • Joined: 04-August 08

Re: Modulus(%) or Percentage(%)

Posted 08 January 2009 - 06:34 PM

In the middle of a depression, are you nuts? or just economically independent?
Was This Post Helpful? 0
  • +
  • -

#9 BigAnt  Icon User is offline

  • May Your Swords Stay Sharp
  • member icon

Reputation: 101
  • View blog
  • Posts: 2,392
  • Joined: 16-August 08

Re: Modulus(%) or Percentage(%)

Posted 08 January 2009 - 06:58 PM

It depends on the context. If I'm writing a program I am using the modulus. If I'm reading interest rates it is 6.00 percent not 6.00 modulo.
Was This Post Helpful? 0
  • +
  • -

#10 supersloth  Icon User is offline

  • serial frotteur - RUDEST MEMBER ON D.I.C.
  • member icon


Reputation: 4428
  • View blog
  • Posts: 28,356
  • Joined: 21-March 01

Re: Modulus(%) or Percentage(%)

Posted 08 January 2009 - 11:56 PM

if i'm using it as a modulus i just call it mod, if it's a percentage or another function like a wildcard, just percent sign.
Was This Post Helpful? 0
  • +
  • -

#11 KYA  Icon User is offline

  • g++ jameson.cpp -o beverage
  • member icon

Reputation: 3089
  • View blog
  • Posts: 19,137
  • Joined: 14-September 07

Re: Modulus(%) or Percentage(%)

Posted 09 January 2009 - 07:23 AM

View PostGloin, on 8 Jan, 2009 - 06:34 PM, said:

In the middle of a depression, are you nuts? or just economically independent?


Depression is a lie. The computer science field is going nowhere but up. Plus, I'd do it on principle regardless of the economic situation.
Was This Post Helpful? 0
  • +
  • -

#12 mikeblas  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 43
  • View blog
  • Posts: 390
  • Joined: 08-February 08

Re: Modulus(%) or Percentage(%)

Posted 18 January 2009 - 04:19 PM

View PostKYA, on 9 Jan, 2009 - 06:23 AM, said:

Plus, I'd do it on principle regardless of the economic situation.
NO HIRE.
Was This Post Helpful? 0
  • +
  • -

#13 jacobjordan  Icon User is offline

  • class Me : Perfection
  • member icon

Reputation: 113
  • View blog
  • Posts: 1,499
  • Joined: 11-June 08

Re: Modulus(%) or Percentage(%)

Posted 18 January 2009 - 04:34 PM

I call it a percent sign. It can be a modulus operator, but if you are referring to the symbol, then most people will know it as a percent sign. Trust me.
Was This Post Helpful? 0
  • +
  • -

#14 bodom658  Icon User is offline

  • Villiage Idiom
  • member icon

Reputation: 113
  • View blog
  • Posts: 1,123
  • Joined: 22-February 08

Re: Modulus(%) or Percentage(%)

Posted 01 February 2009 - 07:32 PM

percent sign, definatly
Was This Post Helpful? 0
  • +
  • -

#15 MonkeyNuTz  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 04-February 09

Re: Modulus(%) or Percentage(%)

Posted 08 February 2009 - 04:35 AM

View PostKYA, on 9 Jan, 2009 - 06:23 AM, said:

View PostGloin, on 8 Jan, 2009 - 06:34 PM, said:

In the middle of a depression, are you nuts? or just economically independent?


Depression is a lie. The computer science field is going nowhere but up. Plus, I'd do it on principle regardless of the economic situation.

Your stuff isn't getting repossesed, so you haven't felt it yet. Wait another two years. My bet is that taxes will increase and gas prices will sky-rocket.
On the issue of the thread, it really doesn't matter too much what you call it, as long as you know what it means and how to use it in certain situations. To me, it's a percentage sign; whether it's being used to code or not. I'll refrence mod if somebody asks about programming involving it, but there's really no other reason for the use of that term.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1