Inch 2 Meter Converter

Library

Convert meters, centimeters and inches

853lab updated 4mo ago 0 MB engine 25
thumb_up 5 open_in_new View on sbox.game
Inch 2 Meter Converter

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:

No usage statistics available
This package may be new or not widely used yet. Usage data becomes available as more users install and play with the package.
0 recorded entries
Rank Player Score Recorded
refresh
Discovering package leaderboards...
Package ID: thelab.inchconverter
Created: 2024-10-29 14:40 UTC
Updated: 2026-05-09 23:16 UTC
Type: library
Public: Yes
Version: 235172
files: 12
Size: 0.0 MB
Engine Version: 25
Asset Version ID: 235172
Version Created: 2026-05-09 23:16 UTC
Hash: -6216287902170387927
Manifest: Open manifest
new_releases Latest Update May 9, 2026
Changes on 2026-05-09
235172 May 9, 2026
Changes on 2026-05-09
75692 Oct 29, 2024
Changes on 2024-10-29
75691 Oct 29, 2024
Changes on 2024-10-29
75674 Oct 29, 2024
Changes on 2024-10-29
75661 Oct 29, 2024
Changes on 2024-10-29
info Live API Passthrough & Removal Notice

This file manifest and asset metadata are retrieved live directly from the official Facepunch s&box public API. s&box Explorer does not host, store, or redistribute any package files. All download links route directly to Facepunch CDN servers.