You have reached the legacy GHI Electronics, LLC website, for the new website please visit here. For the new forum please visit here.

This legacy website will be taken offline at the end of this year. If there is anything that you would like to archive and save for future reference please do so.

Entries tagged with — conversion

Page 1 of 1 out of 20 entries.

Converting mm to fractional inches 12.5mm = 1/2" by Jason

A simple method to convert a double metric value into a fractional English (inches) string …

Snippet   |   Apache 2.0   |   Aug. 18, 2014

FixedTimeService - working replacement for TimeService with DST by eolson

This is a TimeService class replacement that adds DST support and that fixes several issues. While this is a …

Snippet   |   Apache 2.0   |   Jun. 25, 2013

Convert Images to Display_N18.TinyBitmap format by taylorza

This snippet of code is used in a Windows Console application to convert an image file to the native format …

Snippet   |   Apache 2.0   |   Jun. 15, 2013

Check For DST - Daylight Savings Time method by Bob

DST_Check method accepts a DateTime parameter and returns a true/false DST (Daylight Savings Time) indicator. …

Snippet   |   Apache 2.0   |   Aug. 8, 2012

GPS Helper by Justin

Here is the start of a GPS helper libray used to calculate various things based on GPS Latitude and …

Snippet   |   Apache 2.0   |   Aug. 8, 2012

Simple class to manage daylight saving by LouisCpro

The class automatically calculate which date has to be considered for winter and spring daylight saving, and …

Snippet   |   Apache 2.0   |   Aug. 6, 2012

Sample Code for C# Data Conversion Hex, Int, Binary - How a Computer looks at data. by ChrisO

This code is a bunch of samples showing how a Computer looks at data. Hex, Binary, and common Integers. C# …

Project   |   Apache 2.0   |   May. 15, 2012

ConvertBase64 class issue resolution by Gothic Maestro

My project hardly depends on communication between PC and my device (EMX). To encode my data for transporting …

Snippet   |   Unlicensed   |   Nov. 23, 2011

Calculate Distance and Bearing between Coordinates by Colin Raaijmakers

I have writen a function to calculate the Distance between coordinate 1 (lat1, lon1) and coordinate 2 (lat2, …

Snippet   |   Unlicensed   |   May. 17, 2011

StringUtils by LloydK

A utility class for strings containing functions missing from the String class in the .NET Framework such as …

Snippet   |   Unlicensed   |   Mar. 5, 2011

StringBuilder by LloydK

A simple implementation of StringBuilder, sadly missing from the core .NET Microframework. StringBuilder …

Snippet   |   Unlicensed   |   Mar. 5, 2011

Int to Hex conversion with extended range by JAMG

This is a modification of the original function provided by MarkH to convert a int value to a hex …

Snippet   |   Unlicensed   |   Mar. 2, 2011

BitConverter by Luke

A simple Bit Conversion class that utilizes netmf's Utility class for fast conversion. Unlike the standard …

Snippet   |   Unlicensed   |   Feb. 24, 2011

String.SplitEx by William

To split something like a CSV line *but also ignore commas inside quotes, you need something more then the …

Snippet   |   Unlicensed   |   Dec. 20, 2010

String to Boolean (Optimised) by MarkH

Simple class to turn strings into booleans. The switch statement was the fastest by several microseconds …

Snippet   |   Unlicensed   |   Oct. 23, 2010

Convert Byte to Hex string by MarkH

This code converts a byte to hexadecimal representation

Snippet   |   Unlicensed   |   Oct. 23, 2010

Convert Hex string to Int16 (high speed) by MarkH

Converts a 4 character hex representation to a short (16 bit integer).

Snippet   |   Unlicensed   |   Oct. 23, 2010

Convert String to Int32 (High speed) by MarkH

This converts a string to an int32 faster than the native .net method can.

Snippet   |   Unlicensed   |   Oct. 23, 2010

Convert String to Float (highly optimised) by MarkH

Converts the specified string representation of a number to an equivalent single-precision floating-point …

Snippet   |   Unlicensed   |   Oct. 23, 2010

Convert Hex String to Byte by MarkH

Converts the specified hexadecimal string representation of a number to an equivalent 8-bit unsigned integer. …

Snippet   |   Unlicensed   |   Oct. 23, 2010

Page 1 of 1 out of 20 entries.