How to take only whole number is decimal numbers?

Hi, All. How to take only while number in decimal numbers for example in 12549.67, i want only whole numbers(i.e) 12549. how is possible in c#? like in asp using vbscript "Fix" function do this. In .Net using C# how is possible?, i am tried Math.Abs,Math.Round, Math.ceiling all are give same result 12550. thanks for [...]

not being able to decrement numbers via user input

I am trying to be able to have the numbers in the rows(columns) to be able to either increment or decrement via user input by radio button on the HTML form page.I have included both the HTML page and the PHP page. HTML Code: <html> <head>     <title>form</title>     <style type="text/css"> body {background-color:yellow} [...]

create job history by serial numbers

This is what I’m currently doing: I am in the process of starting a PC repair company. Every time I fix a computer I keep track of the job (document everything that was wrong and what I did to fix it). When a computer comes back I use the same serial number and create a [...]

How to make list numbers bold?

I would like to make the numbers of my ordered list bold, but not the text after the number. The solution can be using CSS, but it must be in the list tag and not in a stylesheet or at the beginning of the document. Any help would be greatly appreciated! View full post on [...]

Update text as numbers are typed into input field

I’m creating a page that calculates a number depending on what value is inputted into a text field. I need to create some javascript that updates this new calculated value and outputs it next to the input field. Anytime the user changes the number, it recalculates the value. My calculation is currently being produced by [...]

problem with math and adding numbers to database

so this is my attack code, it looks like it works but no matter how much damage you do it will kill the other player. so if i do 0 dmg to some one with 10 hp it was say i did 0 and i have it echo out how much hp they still has. [...]

Array Trouble, calculating numbers

Hi, I’m working on a simple calculation script that will start with two numbers (these chosen by user). The user chooses a number, and it is set for both numbers. These two values are placed inside an array. The script adds these two numbers, and gets a new value. The value that was in $array[1] [...]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes


RSS Site FeedRSS Site Feed

© 1992-2011 DC2NET™, Inc. All Rights Reserved