---
tags:
    - "Infinite"
    - "Smallest"
    - "Minimum"
---

# Infinity Negative

[Constant](index.md) / **Infinity Negative**

<div class="grid cards" markdown>

* :green_circle: Can Read

* :red_circle: Cannot Write

</div>

## Description

Returns the maximum negative value in a 16-bit floating point value

## Code

```cs
using System;
using UnityEngine;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Get]
    
    [Title("Infinity Negative")]
    [Category("Constant/Infinity Negative")]
    
    [Description("Returns the maximum negative value in a 16-bit floating point value")]
    [Image(typeof(IconInfinity), ColorTheme.Type.Yellow, typeof(BadgeMinus))]
    
    [Keywords("Infinite", "Smallest", "Minimum")]
    
    [Serializable]
    public class TypeNumberConstantInfiniteNegative : TypeNumber
    {
        public override double GetPreview(GameObject source) => int.MinValue;

        public override double Get(Args args) => int.MinValue;

        public override string ToString()
        {
            return "-Infinity";
        }
    }
}
```

