---
title: "Inch 2 Meter Converter - s&box library"
description: "Convert meters, centimeters and inches"
canonical: "https://sbox.watch/fr/libraries/thelab/inchconverter/"
generated_at: "2026-10-09T13:02:14.963Z"
---

# Inch 2 Meter Converter

Convert meters, centimeters and inches

- Type: bibliothèque
- Identifiant: thelab.inchconverter
- Créateur: 853lab
- URL canonique: https://sbox.watch/fr/libraries/thelab/inchconverter/
- Markdown: https://sbox.watch/fr/libraries/thelab/inchconverter/index.md
- sbox.game: https://sbox.game/thelab/inchconverter/
- Généré: 2026-10-09T13:02:14.963Z

## Statistiques

- dynamique sur 24 h: +0
- Terry Score: 65%
- Favoris: 3
- Votes positifs: 5
- Votes négatifs: 0
- Mis à jour: 9 mai 2026
- Créé: 29 oct. 2024
- Taille: 28.1 KB
- Fichiers: 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



