How to detect the sign of a number?
I have output which gives either negative number or positive number. My problems is how to detect the sign of the number and output boolean value? For example if input number is negative like -23.11 I want to output false and if the number is positive like 17.99 I want to output true.
T H A N K S!
Solved!
Go to Solution.
Message Edited by Phillip Brooks on 07-16-2009 11:08 AM
Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.
"You are what you don't automate"
Inplaceness is synonymous with insidiousness
Similar Messages
-
How to detect the Port Number of apex : localhost:????
Dear firends,
I install APEX 3.0 on oracle 10g release 2.
How to detect the Port Number of apex to acces it ? (localhost:????)
regards
siyavuşHave you installed the Oracle HTTP(OHS) server yet ? If you have then the HTTP config file should specify what port the HTTP server listens at. This port is the port number you use to access APEX
-
How to change the status of Serial number
Hi Experts,
Would you please help in solving this problem.
How to change the status of Serial number?
I have material stock in a storage location: recieved from Intercompany through outbound delivery, when PGIed material document is created when I am checking the serial numbers of the recieved ones status of the serial numbers are ESTO, I want that into AVLB.
How can we do that?
Regards
SriHi,
Go to IQ02 on Header tool bar you will find edit(2nd option on header tool bar) => edit manually=> Click from Customer=> and then to Stock you will find the expected results...
Generally Serial number Status use to change along with the movement of material linked with that serial number... So if you are changing serial number with manual trasaction then please remove all the details from IQ02 like plant storage location Batch and master batch so that i will not provide you error while doing next transactions.
Regards,
Ninad Kshirsagar -
How to detect the *Acrobat Browser Plug-in version* installed on a users system, on Firefox, Safari, Opera, etc?
Or one script for detecting Plug-in version for major browsers. Need full example code.Wrote an article on this with code samples (Javascript + HTML) - basically there are differences between IE and other browsers. Chrome natively comes with the Chrome PDF Viewer so I've incorporated that in my detection script.
The script detects the browser type, and the installed acrobat version...
Have a look here:
Detect the Adobe Reader Plugin -
How to detect the path of Temp directory
I am writing a class library which allows users to manipulate a database in the web server java applications/applets. In my logic the Application/Applet communicate with a CGI script/Servlet in the server and that do all the database handling. My objective is to make the Client independant from the Database Drivers, and to some restrictions and possible security threats that can arrice when accessing the database directly.
99% of the work is done and now I am doing the fine tuning.
My Problem:
When the user downloading a blob object from the server database. each time the program read the blob it will get a new copy from the server. This is not good if the blob is large (few 100 megs) . So I am going to implement a cache system. but the problem is If I am caching in the memory it will not support large objects (Memory is a limited factor). So the preferance is use the Temperary files but I do not know how to detect the path to temperary folder.
And my 2nd questions is are the applets allowed to write and read in temperary folder.The Java default temporary file path can be determined with
System.getProperty("java.io.tmpdir")This is typically the same value as the os environment variable -
How to change the $ sign in a class name?
How to change the $ sign in a class name?
After compilation I get classes with names like abc.class, abc$1.clsss abc$2.class etc.. How do I get different names (without the $ sign) that will be accepted by my web host.Thank you, I found out it had to do with the actionPerformed(ActionEvent e) assignment,
public void actionPerformed(ActionEvent e) {
if (e.getActionCommand().equals("Subtotal")) {
bla bla �..
I will have to rewrite some of my source code. I gave you points, thank you again. -
How to detect the HTML extension window close in In-design? Does the In-design throws any event on opening/closing of extensions?
I have a HTML extension running in In-design CC 2014 version.
I want to perform some required set of actions before my extension window is closed(by clicking on the cross button on top right corner).
Does In-design throws any event for it? Or can we capture it using C++ plugin in some way?Naah.......haven't got any event for that yet.
Although, since HTML extensions are using chromium browser, as a workaround, u can attach listener to HTML onClose event, but it won't solve any purpose if you
are looking to logout session or do some business login in your code. -
How to increas the max user process number in Solaris 11?
Hey
Could anyone told me how to increas the max user process number in Solaris 11? I tried below as described in https://blogs.oracle.com/hasham/entry/solaris_10_increasing_number_of , but it cannot work.
set pidmax=60000
set maxusers = 4096
set maxuprc = 50000
set max_nprocs = 50000
Thanks!
Edited by: 966272 on Oct 18, 2012 7:38 AMPerhaps you should work your original forum post:
Oracle 11g installation fail on Solaris 11 64bit - ORA-00443
through to a resolution before you complicate things that likely don't apply.
You make an assumption in that other post about exceeding various maximums. That may be true or it may not be true. Since the installation of a database program seems to be your actual expectation, go work that forum thread instead. -
How to detect the final loop iteration of a step in a PostStep Engine Callback?
I see the need to use a PostStep Engine Callback and look at the Step.Result container of the caller.
My issue: If the caller is configured to loop, the PostStep Engine CB executes with each iteration and I do not see how to detect the final iteration (which is the only iteration I am interested in).
Ideas are welcome. Thanks in advance,
GuenterGuenter,
well, the way i discripted IS the generic way. The reason for this is the following:
You can compare TestStand very well with procedural programming languages. So you have variables with different lifetimes and scope. RunState is one variable, which is available in every scope, but it may have different content.
So you leaving the execution of your clientsequence in order to call the callback, you leave the scope of the RunState from your clientsequence. But only there the information is stored on how many iterations are left. It does not make sense to pass this anywhere, since the execution of your clientsequence has to decide if to loop further or not.
But, please note that there are different scopes for the "disable result recording" as well. You have found the most global one, the station option. But you can as well set this in the sequence settings (Edit >> Sequence Properties >> Disable Result Recording for All Steps) and at step-level (Run Options >> Record Result {uncheck it}).
Looping on a single step using the step settings, you can additionally choose not to record results for each iteration. This will lead to only a single entry in the ResultList, the overall result of the looped step (if resultcollection is enabled of course!).
hope this helps,
Norbert
Message Edited by Norbert B on 08-22-2008 02:10 AM
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
How to detect the end of a loaded swf file
Hello Guys
This is my first time on this forum, come here with a great
hope
I have loaded a picture file (jpeg) and a video file (swf)
into the main flash file using xml
on frame 3, I load the picture and on frame 7, I load the
video, there is a stop action on frame 6
Now when the flash is executed the picture is displayed ( it
says "Click here to view the video")
when the user click the picture , the video is loaded and
starts to play ---- so far everything is working fine
now what I want to do is, once the video finishes playing (
not stoped) I want to display the picture again
can you tell me how to detect the end of an external loaded
swf files,
Please help me
Thanking You
Shriram -
I create a mobile game. How to get the signing key?
I create a mobile game. How to get the signing key? Is the certificate is payable? Sorry if the topic is in the wrong section.
You need to be an iOS/Mac OS X developer.
https://developer.apple.com/devcenter/ -
Does any body knows how to detect the resolution of an inserted image in word?
Does any body knows how to detect the resolution of an inserted image in word?
I'm not sure I understand your reply but when you insert images into Word that are larger than will fit on the page, they are automatically compressed. If you right click and select Size and Position you can restore it to 100% but you will not see all the image.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
How to detect the key enter with a numerical control without using loop event?
I want to accept a numerical value only when the key enter is pressed, but without using the event. How to detect the char "enter" with a numerical control?
Thanks!When the user edits a numeric control with a keyboard, its property "key focus" is true. When the user hits enter, key focus becomes false. Poll the property to latch the control valuse at the true-false transition. That won't work if the user modify the control using up and down arrows.
LabVIEW, C'est LabVIEW -
Could any one help how to open the application without port number in servl
Could any one help how to open the application without port number in servlets or jsp?
Well, configure the application server/web container to listen to the default http port of 80, rather than 8080.
I couldnt get where to specify 80 instead of 8080 so that it opens without numbers -
How to detect the Collission for duplicated movieclps
Hey guys .. i am back with set of query..till now .. key
press movement a rocket (mc) is moving left right up down in a
defined stage area. and i am able to generate some fire balls
randomize falling from top. this is just i am duplicating the movie
clip(fireball_mc) .... now i want incase or when the rocket (mc)
touch the fire ball programm shold detect the collsion and generate
a score board. well for this i have tried a script for two movie
clips ... wchich is working but ..i don know or i m not gettng the
logic how to detect the collission for duplicated movie clips...
well i m just giving the script for oinly 2 movie clips
coliding...can any one tell me how to do it with randmize or
duplkicated mcs??
for 2 movie clip ...
_root.mc1.onEnterFrame = function() {
if(this.hitTest(_root.egg)) {
_root.result="Oh no..... we are dead";
} else {
_root.result="we are going fine";
(this is happening ..but let me know how can i get the same
result for ranndom mcs)
hope someone can help me out ...
i appriciate ur valuable time to read this..
thanking youHey thx for ur suggestion...but as i said m very much new to
actionscript (more designer) so i don have much idea... most of the
things i m doing for this game i m going through lots of references
then i tried to understand te codes m implmenting them to my
need..can u explain me little more about arrays u haves asked for
loops u asked me to use the hittest function..please /.. i will be
greatfull to u... thx
Maybe you are looking for
-
T-code for delete file from application server
Hi all! Please, has any t-code for delete file from application server? For upload exist CG3Z, for download has CG3Y. And for delete? Has anyone? I need to delete file from application server in QA system and i don't want to create a program for this
-
How to clear downpayment of higher value than invoice
Dear All, I'm tryig to establish new procedures at cutomer AP department and one of them is causing me a headache. Situation looks like this. - Vendors requests for Downpayment - Downpayment request is posted with F-47 (value 1000 USD) - Downpayment
-
We are planning a 2 node RAC cluster with nodes in two room on a single site. The shared storage will be on a SAN which is replicated/mirrored (via the SAN) to a second SAN in the second room. Setup room A :- Node A SAN A room B :- Node B SAN A Room
-
Aperture 3 and iPhoto 11 Deletion Disaster
I had been using iPhoto 11 exclusively. I decided to try using Aperture 3. I populated a new Aperture library by referencing my entire iPhoto library, leaving the files in their original location. I decided to stop using Aperture and deleted the iPho
-
FEATURE: CD-Text Burning is a *MUST*
It is now at version 6.01 and iTunes still does not support CD-Text. Their cd encoding is the best, the easiest, and the quickest to configure. Somehow though the basic feature of CD-Text encoding eluded the software all these versions. I think there