Ignore:
Timestamp:
2021-04-12T21:20:34+02:00 (3 years ago)
Author:
simon04
Message:

fix #20751 - Add MapCSS function mod (modulo)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java

    r17758 r17759  
    190190        FACTORY_MAP.put("lower", Factory.of(String.class, Functions::lower));
    191191        FACTORY_MAP.put("minus", Factory.ofNumberVarArgs(Functions::minus));
     192        FACTORY_MAP.put("mod", Factory.of(float.class, float.class, Functions::mod));
    192193        FACTORY_MAP.put("not", Factory.of(boolean.class, Functions::not));
    193194        FACTORY_MAP.put("not_equal", Factory.of(Object.class, Object.class, Functions::not_equal));
Note: See TracChangeset for help on using the changeset viewer.