Advertisement

1 - 10 of 375 containing alltags:("Math") (0 seconds)
Hi experts, suppose we have a file: filename:='c:\programs\windows\my file.txt'; how can I split this filename into its components? drive:='c:'; directory:='\programs\windows\'; name:='my file'...
Zones: Delphi ProgrammingDate Answered: 01/10/1999 Grade: A Views: 0
i am having trouble getting an int divide with another value and answer in 2 decimal places. here's the problem: the user answered "05:04" as time so: char ans[5]="05:04"; i need to convert the min...
Zones: CDate Answered: 04/25/1999 Grade: C Views: 0
Hi experts, I have a problem with my filelistbox. If I run my demo program, I see the files of the directory with my demo application. There is is nothing wrong with it. But if I click within the...
Zones: Delphi ProgrammingDate Answered: 01/30/1999 Grade: A Views: 0
I'm writing a program the needs to find the relationship between two points on an x,y grid. Maybe someone experienced with line-drawing algorithms can help... I need a function that gives me the di...
Zones: C++Date Answered: 09/12/2000 Grade: A Views: 0
Hi there, can u help me with the math routine? suppose I have array of integers. some of them are just numbers and some are calculated values. Suppose when integer is positive my routine should ...
Zones: Delphi ProgrammingDate Answered: 09/20/2000 Grade: A Views: 0
Float math problem. Example : 1000+45%(1.precent)+22%(2.precent)+33%(3.precent)+17%(4.precent)=2752.7409 How to know 1.percent if we know just 1000, 2.percent, 3.percent, 4.percent and 2752.7...
Zones: Delphi ProgrammingDate Answered: 05/19/2001 Grade: A Views: 0
If I want to do a^b  (a to the power of b), and if the result is too big, my long integers cannot take it.  What can I do about it? Infact, I'm doing a prime number test: (a^((p-1)/2)) % p.  so...
Zones: C++Date Answered: 03/26/2002 Grade: A Views: 0
I'm trying to present rounded-up numbers in a shopping cart which keeps track of both price and weight of items. I'm having trouble with the weight sums, not the price sums. In order to calcul...
Zones: ASPDate Answered: 09/23/2003 Grade: A Views: 0
Hope you don't know this one : 1..1..1 = 6 2..2..2 = 6 3..3..3 = 6 4..4..4 = 6 5..5..5 = 6 6..6..6 = 6 7..7..7 = 6 8..8..8 = 6 9..9..9 = 6 Fill with any mathematical operators or sign...
Zones: Puzzles / RiddlesDate Answered: 07/29/2003 Grade: A Views: 0
Some time ago an expert from this site wrote some javascript for me for an e-commerce form that would multiply the amount entered by the user by the price of an item, then would add up a grand tota...
Zones: Web Languages/StandardsDate Answered: 12/06/2003 Grade: A Views: 0