Luna (AVR) Luna (AVR)
  • Start
    • About Luna
    • Screenshots
    • Getting Started
    • Tutorial
    • Tips & Tricks
    • FAQ
    • Friends
    • Contact
  • Language Reference
    • Command Overview
    • Command Overview (Assembler)
    • Categories Overview
    • Libraries
    • Preprocessor
    • Preprocessor (Assembler)
  • IDE
    • Programmer/Uploader
    • Fusebits
    • Autocomplete
    • Controller Values
    • Memory Assignment
    • Libraries (Choose)
    • Luna Share
  • Technical
    • Byte-Order
    • Type Casting
    • Supported Controller
    • Variables in Methods
    • Memory Management
    • Optimizer
    • Luna Picture
    • Luna Font
    • Compiler parameters
  • Download
  • Anmelden

Übersetzungen dieser Seite:
  • dede
  • enen
  1. Sie befinden sich hier
  2. en
  3. fix
  1. Zuletzt angesehen
  2. fix

en:fix

  • Share on ...
  • Google+
  • Twitter
  • LinkedIn
  • Facebook
  • Pinterest
  • Telegram

Fix()

Fix() returns the whole part of a float number as an signed integer.

Syntax: int32 = Fix( value as single )

Example:

  dim a as single
  dim b as long
  a = 100.5
  b = Fix(a)  ' result: 100

See also: Floor(), Fround(), Fceil(), Frac()

Copyright (c) rgf software