An open library of RPG Maker MV plugins, powered by the community.

PGMV - The Community-Driven Plugin Library for RPG Maker MV

MV plugins

Float Variables - FloatVariables.js

Plugin desc : FloatVariablesPlugin

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com/

Desc page : https://triacontane.blogspot.com/

Download Page : https://raw.githubusercontent.com/munokura/triacontane-MV-plugins/refs/heads/main/FloatVariables.js

File name : FloatVariables.js

Help of plugin :

@url https://triacontane.blogspot.com/
@plugindesc FloatVariablesPlugin
@author Triacontane
@license MIT License

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/triacontane-MV-plugins ).
Original plugin by Triacontane.
Please check the latest official version at:
https://triacontane.blogspot.com
-----
FloatVariables.js

Allows variables within a specified range to be calculated using decimals.

Normal (integer) operation:
3 / 2 = 1

Decimal operation:
3 / 2 = 1.5

Using a variable with a decimal assigned to it as an operand for an event
command may cause unexpected problems.
(e.g., adding 0.5 to HP).

Use with caution.

This plugin does not contain any plugin commands.

Terms of Use:
You may modify and redistribute this plugin without permission from the
author, and there are no restrictions on its use (commercial, 18+, etc.).
This plugin is now yours.

@param FloatVariableStart
@desc The starting position of the variable on which the decimal operation is performed.
@type variable
@default 0

@param FloatVariableEnd
@desc The end position of the variable to perform the decimal operation on.
@type variable
@default 0

スポンサードリンク

-MV plugins

Copyright© PGMV - The Community-Driven Plugin Library for RPG Maker MV , 2026 All Rights Reserved.