@Contract(value = "_, _, _ -> new", pure = true)
  static @NotNull TextComponent text(final double value, final @Nullable TextColor color, final TextDecoration@NotNull... decorations) {
    return text(String.valueOf(value), color, decorations);
  }
Creates a text component with the content of {@link String#valueOf(double)}, and optional color and decorations.

@param value the double value
@param color the color
@param decorations the decorations
@return a text component
@since 4.0.0
api/src/main/java/net/kyori/adventure/text/Component.java