473,387 Members | 1,374 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

what is code of meter to centimeter ,centimeter to meter,kilometer to miles?

what is the code of meter to centimeter in visual basic?
Sep 21 '10 #1
1 5553
code green
1,726 Expert 1GB
Expand|Select|Wrap|Line Numbers
  1. Dim m As Double
  2. Dim cm As Double
  3. Dim km As Double
  4. Dim mile As Double
  5.  
  6.  m = cm/100
  7.  cm = m*100
  8.  km = mile * 1.6
Sep 21 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: PDXWilliam | last post by:
Hello, Please forgive if this is off-topic ... and I'd welcome if someone pointed me elsewhere to find this info. I'm programmatically retrieving data from a website and am unable to figure...
9
by: Mike L | last post by:
I tried a sample of code in MSDN magazine, but now I'm stuck. What code has the best performance to populate a Data Grid with a SP? Below is the code I have, which might be completing the wrong...
0
by: VM | last post by:
I have a pretty big application made in C but I only want to view the code that's being executed when a button in a toolbar is clicked. Since I didn't write the program, is there an easy way to...
4
by: Trint Smith | last post by:
How can I do this if a certain event happens within my program? Can I use a hotmail.com account or one of the tribidz.com that comes with my hosting account? Is there a free way to do it? Dim...
1
by: Mateusz Rajca | last post by:
Hello, What code should I write to hide the taskbar? Mateusz
2
by: mistral | last post by:
what code encoded in this snippet? <script language=JavaScript>function dc(x){var...
1
by: bb nicole | last post by:
What coding should i have if i want to display all the latest job(according to date) which call out from database. For example, all today will display in the website... What code should i have to...
7
by: den | last post by:
in a box text, for avoid the insertion of character that can to damage the site and its db, 1- what is a good solution for filter the string? 2- to accept the insertion only for letter a-zA-Z...
0
by: sheenaa | last post by:
Hi Everyone, I m using ASP.NET 2005 with C# and SQL SERVER 2005. I m using stored procedure and sql datasource control to retrieve the data. I want to use the trigger...
6
by: arniemateo | last post by:
I'm a newbie in programmer. A$ = "TMRAECNRDO" B$ = "" For J = 1 to Len(A$) step 2 Print Mid(A$, J, 1) B$ = B$+Mid(A$, J+1, 1) Next Print B$
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.