🏠 Início
Avaliações
📊 Todos os Benchmarks 🦖 Dinossauro v1 🦖 Dinossauro v2 ✅ Aplicações To-Do List 🎨 Páginas Livres Criativas 🎯 FSACB - Showcase Definitivo 🌍 Benchmark de Tradução
Modelos
🏆 Top 10 Modelos 🆓 Modelos Gratuitos 📋 Todos os Modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de Prompts 📖 Glossário de IA 🔗 Links Úteis
Advanced

Cobol to Python Logic Migration

#programming #refactoring #logic #technical

Translating legacy business logic from COBOL to modern Python while preserving exact procedural flow and precision.

Translate the provided COBOL paragraph into Python code. Ensure that the logic maintains strict precision regarding fixed-point decimal arithmetic, replicating the behavior of COBOL's COMPUTE and MOVE verbs exactly without using floating-point numbers. Add docstrings explaining how the Python control flow maps to the original COBOL PERFORM and IF statements.