"""
file AVERAGER
time 2024-11-05
author Ivan
email ivan@spamhereplease.com
license MIT License
"""
class AVERAGER:
"""
note:
en: ''
details:
color: '#ff0000'
link: ''
image: ''
category: Custom
example: ''
"""
def __init__(self):
"""
label:
en: '%1 init'
"""
def average(self, float1: float = 0, float2: float = 0):
"""
label:
en: '%1 %2 %3'
params:
float1:
name: float1
type: float
default: '0'
field: number
max: '100'
min: '0'
float2:
name: float2
type: float
default: '0'
field: number
max: '100'
min: '0'
"""
return (float1+float2)/2