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

# Inch 2 Meter Converter

Convert meters, centimeters and inches

- Тип: библиотека
- Идентификатор: thelab.inchconverter
- Автор: 853lab
- Канонический URL: https://sbox.watch/ru/libraries/thelab/inchconverter/
- Markdown: https://sbox.watch/ru/libraries/thelab/inchconverter/index.md
- sbox.game: https://sbox.game/thelab/inchconverter/
- Создано: 2026-10-09T10:52:13.487Z

## Статистика

- динамика за 24 ч: +0
- Terry Score: 65%
- Избранное: 3
- Положительные оценки: 5
- Отрицательные оценки: 0
- Обновлено: 9 мая 2026 г.
- Создано: 29 окт. 2024 г.
- Размер: 28.1 KB
- Файлы: 12
- Теги: 

## Описание

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



