---
title: "Inch 2 Meter Converter - s&box library"
description: "Convert meters, centimeters and inches"
canonical: "https://sbox.watch/libraries/thelab/inchconverter/"
generated_at: "2026-07-22T23:21:23.098Z"
---

# Inch 2 Meter Converter

Convert meters, centimeters and inches

- Type: library
- Ident: thelab.inchconverter
- Creator: 853lab
- Canonical: https://sbox.watch/libraries/thelab/inchconverter/
- Markdown: https://sbox.watch/libraries/thelab/inchconverter.md
- sbox.game: https://sbox.game/thelab/inchconverter/
- Generated: 2026-07-22T23:21:23.098Z

## Stats

- 24h momentum: +0
- Terry score: 65%
- Favorites: 3
- Upvotes: 5
- Downvotes: 0
- Updated: May 10, 2026
- Created: Oct 29, 2024
- Size: 28.1 KB
- Files: 12
- Tags: 

## Description

PLEASE GIVE thumbs-up EMOJI to this Issue to make Official support for metric units:
How to use?
using Sonic853.InchConverterLib;

var m = InchConverter.InToM(1);
Log.Info($"m:{m}");
var inch = InchConverter.MToIn(1);
Log.Info($"in:{inch}");

Log.Info($"LocalPosition(M):{LocalPosition.ToM()}");

LocalPosition = new Vector3(1).ToIn();
Log.Info($"new Position:{LocalPosition}");

var distance = Vector3.Direction(pointA, pointB);
Log.Info($"distance(M):{distance.ToM()}");Extension
using Sonic853.InchConverterLib.Extensions;

var meter = inchFloat.Meter;
Log.Info($"m:{meter}");
inchFloat.Meter = 1; // 1 meter
Log.Info($"in:{inchFloat}");

var meterVec2 = inchVec2.Meter;
Log.Info($"m:{meterVec2}");
inchVec2.Meter = new Vector2(1); // 1 meter
Log.Info($"in:{inchVec2}");

var meterVec3 = inchVec3.Meter;
Log.Info($"m:{meterVec3}");
inchVec3.Meter = new Vector3(1); // 1 meter
Log.Info($"in:{inchVec3}");

Log.Info($"m:{gameObject.LocalPositionMeter}");
gameObject.WorldPositionMeter = new Vector3(1); // 1 meter
Log.Info($"in:{gameObject.LocalPosition}");Source code:
https://github.com/Sonic853/sbox-inch-converter


