Groups | Blog | Home
all groups > vb.net > february 2006 >

vb.net : Math function


Chris
2/2/2006 12:16:03 PM
[quoted text, click to view]

S Shulman
2/2/2006 2:39:15 PM
Hi
Is there a ny function in VB that returns a minus figure? Receives 150 and
returns -150

Thank you,

Shmuel

Patrice
2/2/2006 3:44:34 PM
i=-i ?

--
Patrice

"S Shulman" <smshulman@hotmail.com> a écrit dans le message de
news:eU5WyZAKGHA.964@tk2msftngp13.phx.gbl...
[quoted text, click to view]

Herfried K. Wagner [MVP]
2/2/2006 3:52:02 PM
"S Shulman" <smshulman@hotmail.com> schrieb:
[quoted text, click to view]

'x = -x'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Hal Rosser
2/3/2006 3:06:55 AM

[quoted text, click to view]

Not a function - an operator. Put a minus sign in front of the number. (OR
multiply it by minus one)

AddThis Social Bookmark Button