How to test if the rest is a decimal number or an integer?

Hi guys!

I want to check whether or not my rest of two integers is a decimal number. Also, if it is a decimal number, I wana it allows to do a thing and if its an integer, I want her to do something else. How can I do?

Help, please!

Thanks in advance.

Craster.D wrote:

The task is to divide two numbers X and Y and a LED lights up if the result/rest is a decimal number. It can be higher or lower than 1, is not serious. If it is not a whole number, the LED should light.

Great looks that you know exactly what you want to do, which seems to be the problem?  You will find the functions you need in the digital, boolean and comparison scheme.

Tags: NI Software

Similar Questions

  • New tab page to view the 15 links. Now it just shows 3. How to bring back the rest?

    New tab page to view the 15 links. Now it just shows 3. How to bring back the rest?

    You can zoom the subject: newtab page to resize tiles and tiles most enter on the page.

    • View > Zoom > Zoom out; CTRL and -
      'Zoom text only' should not have a tick

    This will affect all elements of the page, text so get more smaller institutions.
    Make sure that a tab with the subject: newtab page is open when you change the zoom of the page.
    Toggle the pref browser.newtab.preload false on the topic: config page in case of problems with remembering the zoom on the page of the on: newtab page.

    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

    See also:

  • I ran microsoft security scan, and it says a voris has been partially deleted. How can I remove the rest or what should I do next

    I ran a scan of microsoft security and it indicates that a virus has been partially deleted. How can I remove the rest or what step I need to take the next

    Hi Lucie,.
    Try following the steps in this virus/malware removal guide: http://www.selectrealsecurity.com/malware-removal-guide
    It contains instructions which will remove most malware infections. If you have any questions, just ask me. I hope this helps you.
    Brian
  • How can I get the rest of this virus off the coast? Ive found a bunch and sank them until I can get online

    How can I get the rest of this virus off the coast? Ive found a bunch and them came down until I can get online but I can 't get to work stations or other programs. I have to run in safe mode to do anything properly. This is where I removed the malware and other viruses but I'm not sure it fixed stuff I need in normal mode.

    How can I get the rest of this virus off the coast? Ive found a bunch and them came down until I can get online but I can 't get to work stations or other programs. I have to run in safe mode to do anything properly. This is where I removed the malware and other viruses but I'm not sure it fixed stuff I need in normal mode.

    Just to add to the answer above, once you have completed the scan with Malwarebytes in SafeMode with network, restart the computer in normal mode, look for the Malwarebytes updates, then perform another analysis.

  • How can I remove the rest of the damaged files that Windows Resource Protection could not?

    How can I remove the rest of my corrupted files that Windows Resource Protection did not delete?  It offers no suggestions?  If he deleted some, why can't this?    I did the scan twice, but it says this... CBS. Newspaper windir/Logs/CBS/CBS.log for more details... I don't know how to access, also said the damaged drive was C / windows / System 32/config/software/log is corrupted and unreadable.  Hope that there is a way to solve this problem... Thank you

    Hello

    Try the following and see if it helps.

    I suggest you perform a disk check and check if it helps.

    See the following steps:

    a. open the computer by clicking the Start button, click computer.

    b. click the drive you want to check, and then click Properties.

    c. click on the Tools tab and then, under error-checking, click Find now.  If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    d. to automatically repair problems with files and folders that the scan detects, select automatically fix file system errors. Otherwise, the disk check will be a problem, but not to fix them.

    e. to carry out a thorough, check select search for and attempt recovery of bad sectors. This analysis tries to find and repair physical errors on the disk itself, and it may take much longer to complete.

    f. to check for errors file and the physical errors, select both automatically fix errors in file system and search for and attempt recovery of bad sectors.

    g. click on start.

    Note: When running chkdsk on the drive hard if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

    Note: Make sure also that you have disconnected all external devices except the keyboard and mouse.

    Note: If you are always faced with the question then I suggest you to upgrade on the spot and check if it helps.

    How to perform an upgrade in Place on Windows Vista, Windows 7, Windows Server 2008 and Windows Server 2008 R2: http://support.microsoft.com/kb/2255099
    Note: Before you perform the upgrade on the spot, I would recommend you to back your files using windows backup.

  • I tried to install 300 photos on a USB I installed 170 photos and come with an Ox80070052 error message. Please advis how can I install the rest of the photos without the passage of the error.

    I tried to install 300 photos on a USB I installed 170 photos and come with an Ox80070052 error message. Please advis how can I install the rest of the photos without the passage of the error.

    Hi BrendaMay,

    Take a look at this link http://social.technet.microsoft.com/Forums/en/itprovistasetup/thread/bf17ed76-5164-4380-9140-16bd74e7c8c7 and check if the post by Ira Horowitz to Monday, December 24, 2007 15:04 is a good one to try.

    Kind regards

    SAP

  • I tried to install 300 photos on a USB I installed and come with an Ox80070052 error message. Please advis how can I install the rest of the photos without the passage of the error.

    I tried to install 300 photos on a USB I installed and come with an Ox80070052 error message. Please advis how can I install the rest of the photos without the passage of the error.

    Hello BrendaMay,

    ·         What exactly do you mean by saying that you install photos?

    ·         You try to copy photos from your computer to the USB key?

    Try to format the hard disk to the NTFS Format USB and check if you can copy the photos.

    If does not work, try to format to FAT32.
    1. type devicemgmt.msc in the Vista Start menu or in the Run dialog box.

    2 expand disk drives, right-click on your USB key that you want to format it in NTFS file system, and then select Properties.

    3. on the Policy tab, select optimize for performance option. Click OK and return to my computer.

    4. right click on your key USB. Select Format.

    5. Select NTFS from the drop-down list (you can also select FAT32).

    6. click on apply to format your drive to NTFS.

    Note: The pilot of formatting will destroy all data on the disk.

    If this does not work, try to create a new folder in the drive, and then copy the photos on this folder.

    Thank you

    Irfan H, Engineer Support Microsoft Answers. Visit our Microsoft answers feedback Forum and let us know what you think.

  • Liquid markup - how to use (for the rest of us)?

    I read a lot of things in the developer section BC liquid. Clearly for the programmers out there, it's like plain English what she gets. However, for the rest of us, designers and our customers, there are large gaps in the way it is presented. It assumes that we have a basic understanding of the functions on the server side and on the side of customer calls. I would say it seems intense collaboration between the province of British Colombia and the "expert" group of advisers in the liquid application with BC is ahead of the rest of the customers of BC scratching their heads.

    What seems to be missing is the step by step guides that BC developed for its previous syntax, with examples for each module, even examples of HTML work. And does not suggest that it subscribes to a course of Liquid by a third party. BC made the changes, and I'm expecting BC to provide the best documentation, guides, and tutorials.

    For example, after reading and re-reading the liquid documentation BC (for developers) I googled liquid to see if anyone had made any sense it to '' the rest of us. '' I came across a tutorial (Infinite business catalyst product detail Layouts |) Joe Watkins | Adobe Business Catalyst tutorials - tips & tricks) which explained mustache (a solution javascript much debated and turned in derision by some people in this forum; although debate reads like a pretty eyes and devoid of logic for "the rest of us"). Now before you say that moustache is not the same thing, etc. client-side's point was that it was EASY to understand. BC seems to have forgotten the "rest of us" in his excitement.

    BC seems to have become more complex than ever, creating a wide gap between those who are experienced programmers and customers who wanted a simple CMS to manage their Web site. I am sure that liquid offers brilliant functional solutions, but it can be difficult to access without understanding how to use it.

    However, attractive interface and functionality of Squarespace we makes you wonder what is happening on Earth at BC. You can all you like to argue about the technology behind Squarespace, but it totally works on BC in the way in which it is marketed, presented and used by the very market that BC is intended.

    I hope that BC, with the release of liquid, at least with a "how to use (for the rest of us).

    I can't help to wonder if the redevelopment of Colombia-British got hijacked by the developers, when he should have been hijacked by marketing initially.

    Hey Simon,

    Its a templating language and the programming language basic, must never anything the customer needs to see, touch or concern. We have been running the stuff of bedbugs in brass on the liquid for a few months and I know the sandpile a running as well things - I think that say there are a lot of people happy and I have not seen a case of head scratching total with everyone. Some people of course, but you must also be aware that liquid is not final, it isn't here for all sites and developers forum is above all the work to ensure that it has the features he needs, his work at 100% and ready for prime time. With this documentation is largely up to date in many areas and guides etc will.

    You have all these:

    Developers

    And the ready reference information and existing code snippets in - the Developer Reference

    But like I said, its not direct things yet if are still ongoing, evolving and updated.

    In terms of saying moustache - it is pretty much the same language in many ways - much the creation of models of language are.

    In terms of BC - they tried the simple way, they went with Muse, they did more with the ice, the more simple things - BC has not progressed and lost big BC partners etc. Dreamweaver saw what he removed from the main application and so on. BC needs to move forward and this is the real way forward, must pick up digital agencies, many sites of coherent long-term based on the platform so that it can develop. Of course, Squarespace has a nice interface in version 7, but have you used? VERY limiting, your will not build sites Web tailored to your customers that meet the needs of their online business can grow.

    But yes, what your ask Simon, is already past and you have to remember the liquid is NOT yet final.

  • During the migration, all my IE Favorites come more. How can I copy the rest of them?

    Using the import of bookmarks in IE, there more than some of them. How do the rest to come?

    I use Windows 8, IE 11.

    A liked a charm. Thanks cor - el

  • How to test if the pc is connected to the TCP/IP protocol?

    Hello

    I have a VI how should the data received from another PC, using a TCP/IP connection.

    My VI could connect, receive data, but if I lose the connection im not able to reconnect, because I do not know how to test if my pc is connected to the other.

    Thank you for your help,

    Best regards

    salim_mjs wrote:

    Hey,.

    I was checking for error 66, I think that it check if the connection has been closed in order to reconnect

    do you not think that the error 56 or 60 are better?

    with respect,

    56 is the time-out. This will depend on your remote service if this should be considered as error or ignored. If it is a server application, it should certainly be able to respond within the time limit. But if your host application is the server and the remote application is the client it is very common to receive a time-out error when querying the client if it has new data to send.

    Order the examples mentioned previously, they really give you a good idea on how TCP/IP network communication must all work, even if there is still a lot to improve to create a truly reliable connection. But start from there come back if you get into trouble.

    Rolf Kalbermatter

  • How can I use the REST API to get general information of the user (Signature fields)?

    I'm trying to use the API to get the signature of all the users of the system fields. I can see this information in the web browser if I go to settings-> user management-> and selecting the user.

    I would like to know if there is a way to get the information General information (Signature fields) using the API.

    Thank you!

    Hi Sai,

    The REST API exposes the user records (see the following document); However, signature fields are not included. We need to work on this addition to the API (in a later version), but the option is currently not available.

    Please let me know if you have any questions or would like more information.

    Thank you

    Fred

  • How to test if the thermocouple is attached.

    Hello, I use the cRIO-9023 and the module NI9213 to read the temperature of the thermocouple. I give to the user up to 16 thermometers already programmed in labview to display the temperature. The question I have, is I want to disable the thermomiters if no thermocouple is connected. I called NOR and they said there is no function integrated to test it, so I have to check by comparing the value. for example, if the units are set to fahrenheit, so if a thermocouple is not plugged it reads to the as 2500 degrees, so what I want to do is to check if the type is fahrenheit and if this is the case, then my temperature max value 2000 degrees. Then I can test IF temp? 2000, disable thermomiter.

    How can I editor a programming like this statement:

    If Type = Fahrenheit THEN maxTemp = 2000

    ELSE IF Type = Celsius THEN maxTemp = 1500

    Basically I want a boolian to trigger an action to establish an indicator.

    Also, if I put an indicator of value of the dome, how can I read it by another controll?

    I would like a way to do it without globial/local variables as my cRIO dislikes the.

    Thank you!

    Use an appropriate comparison function. Most important in this case.

  • Only 1/3 of my favorites imported IE. How can I move the rest?

    I have a lot of bookmarks into folders hierarchical sometimes 3 deep. Only some of them and the first level of folders, have been imported. How can I get them all? Manually? [Pathetic groan]

    I spent about 40 minutes of reading on the bookmarks on the help site. No luck. I tried to import again and received yet again with more files in a hierarchy. Some of the bookmarks are also in the wrong place.

    3rd opinion here. It seems that importing function EI when installing Firefox (and from the file > import menu item) has trouble with new versions of IE (like 7, 8 and 9) and configurations of complex cases or several levels that a user can have in Internet Explorer. Export your IE Favorites in the bookmarks.htm format and then import this file into Firefox seem to work much better--nothing seems to get lost. Plus, you end up with a marked folder of Internet Explorer that is to separate the bookmarks saved in Firefox in the future, all IE Favorites shouldn't go by in the main folder in the bookmarks Menu .

    If you are a new user of Firefox and do not yet have all the bookmarks saved in Firefox, beyond those that were imported from IE, I think you should use Firefox SafeMode to delete all your bookmarks in Firefox and start over again.
    http://support.Mozilla.com/en-us/KB/safe+mode

    Use the option of safe mode to delete all bookmarks except for backups , and then make changes and restart.

    Export your IE Favorites, and then import this file into Firefox, like that.

    In Internet Explorer:

    File > Import/Export - Export to HTML file

    then in Firefox:

    Bookmarks > show all bookmarks-> import and backup - import HTML... = HTML file

    In this way should make sure you don't have a lot of duplicate bookmarks to get rid of, unless you deliberately save duplicate when using IE.

  • How to test for the node XML empty?

    If (selectedImage.detail! = "")

    works with
    < picture detail = "" >
    < / image >

    but not

    < image >
    < detail > < / details >
    < / image >


    Hope that makes sense for a person, can't think really how to explain it better, I'm sure it's a fairly simple thing

    Quote:
    Posted by: ntsiii
    I did not understand. You try to search the nodes in detail where the text node is empty?
    Tracy

    Yes - for that I can't ignore explicitly their.

    Seems that all I had to do was if(!selectedImage.detail)

    Thanks for the reply - despite my not knowing how to phrase the question.

  • How can I get the rest of a division.

    I need the solution to 65 ^ 62 mod 133, an idea? Please I need help, thank you very much

    You should get a copy of the guide and user manual the user advanced since the site HP here:

    http://h20000.www2.HP.com/bizsupport/TechSupport/DocumentIndex.jsp?ContentType=SupportManual & lang = to & CC = US & docIndexId = 64179 & TaskID = 120 & prodTypeId = 215348 & prodSeriesId = 3235173

    RPN mode:

    65

    Come in

    62

    Y ^ X

    133

    Come in

    ALPHA ALPHA

    M O D (choose the alpha characters on the keyboard to M, O and D)

    Come in

    Here's another way:

    65

    Come in

    62

    Y ^ X

    133

    Come in

    Shift to the right CAT (the chat feature is the SYMBOL P key)

    ALPHA M

    Use the UP or DOWN ARROW keys to select the MOD function.

    Press the OK key (should be F6)

Maybe you are looking for