Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Units of measure for comparisons

Units of measure for comparisons

Scheduled Pinned Locked Moved Visual Basic
csharpcssalgorithms
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Marcus J Smith
    wrote on last edited by
    #1

    Does VB.NET have any hidden understanding of units of measure? Meaning, if I had a value 12 oz and wanted to quickly decide if it is greater than or less than 500 mL, is there something out there that already can do that in VB? I know that I can give a weight to each UOM and do the comparisons but am hoping there might already be something in the vast framework of code. I couldnt find anything by searching the net for VB but did find stuff for F#. I dont believe I can program with F# though, or at least it isnt available as a project template.


    CleaKO

    "Now, a man would have opened both gates, driven through and not bothered to close either gate." - Marc Clifton (The Lounge)

    D 1 Reply Last reply
    0
    • M Marcus J Smith

      Does VB.NET have any hidden understanding of units of measure? Meaning, if I had a value 12 oz and wanted to quickly decide if it is greater than or less than 500 mL, is there something out there that already can do that in VB? I know that I can give a weight to each UOM and do the comparisons but am hoping there might already be something in the vast framework of code. I couldnt find anything by searching the net for VB but did find stuff for F#. I dont believe I can program with F# though, or at least it isnt available as a project template.


      CleaKO

      "Now, a man would have opened both gates, driven through and not bothered to close either gate." - Marc Clifton (The Lounge)

      D Offline
      D Offline
      Dalek Dave
      wrote on last edited by
      #2

      Nothing inherant, but it is easy write conversion programs.

      ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

      M 1 Reply Last reply
      0
      • D Dalek Dave

        Nothing inherant, but it is easy write conversion programs.

        ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

        M Offline
        M Offline
        Marcus J Smith
        wrote on last edited by
        #3

        I have conversion code already, I was just hoping to find a more complete codebase to use rather than re-inventing the wheel.


        CleaKO

        "Now, a man would have opened both gates, driven through and not bothered to close either gate." - Marc Clifton (The Lounge)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups